From 94d9c94ec170ef2abb9df7ef2df1fa427a75270c Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 1 Jul 2018 18:09:12 +0000 Subject: [emacs] Remove configuration for rust Remove backup file too for basic settings. --- emacs.d/config/fcuny-basic-settings.el~ | 9 --------- emacs.d/config/fcuny-rust.el | 24 ------------------------ emacs.d/init.el | 1 - 3 files changed, 34 deletions(-) delete mode 100644 emacs.d/config/fcuny-basic-settings.el~ delete mode 100644 emacs.d/config/fcuny-rust.el diff --git a/emacs.d/config/fcuny-basic-settings.el~ b/emacs.d/config/fcuny-basic-settings.el~ deleted file mode 100644 index 2dab7f0..0000000 --- a/emacs.d/config/fcuny-basic-settings.el~ +++ /dev/null @@ -1,9 +0,0 @@ -;; set utf-8 as the default encoding -(prefer-coding-system 'utf-8-unix) -(set-terminal-coding-system 'utf-8) -(set-keyboard-coding-system 'utf-8) - -;; alias yes-or-no to y-or-n -(fset 'yes-or-no-p 'y-or-n-p) - -(provide 'fcuny-basic-settings) diff --git a/emacs.d/config/fcuny-rust.el b/emacs.d/config/fcuny-rust.el deleted file mode 100644 index 8b3fe49..0000000 --- a/emacs.d/config/fcuny-rust.el +++ /dev/null @@ -1,24 +0,0 @@ -(eval-when-compile - (require 'use-package)) - -(use-package rust-mode - :ensure t - :config - - (use-package toml-mode :ensure t) - - (use-package racer :ensure t) - - (use-package company-racer :ensure t) - - (use-package cargo - :ensure t - :hook ((rust-mode . cargo-minor-mode) - (rust-mode . eldoc-mode) - (rust-mode . race-mode)) - :custom - (compilation-ask-about-save nil) - (rust-format-on-save t) - (rust-rustfmt-bin "/Users/fcuny/.cargo/bin/rustfmt"))) - -(provide 'fcuny-rust) diff --git a/emacs.d/init.el b/emacs.d/init.el index 37094a4..664720f 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -46,7 +46,6 @@ (use-package fcuny-elisp) (use-package fcuny-go) (use-package fcuny-python) -(use-package fcuny-rust) (use-package fcuny-shell) (use-package fcuny-scala) (use-package fcuny-make) -- cgit 1.4.1