summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-07-01 18:09:12 +0000
committerFranck Cuny <franck.cuny@gmail.com>2018-07-01 18:09:12 +0000
commit94d9c94ec170ef2abb9df7ef2df1fa427a75270c (patch)
treea81d98b7f8d708ab68e2338db41c990067b8bfaf
parentgeneral cleanup (diff)
downloademacs.d-94d9c94ec170ef2abb9df7ef2df1fa427a75270c.tar.gz
[emacs] Remove configuration for rust
Remove backup file too for basic settings.
-rw-r--r--emacs.d/config/fcuny-basic-settings.el~9
-rw-r--r--emacs.d/config/fcuny-rust.el24
-rw-r--r--emacs.d/init.el1
3 files changed, 0 insertions, 34 deletions
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)