summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2016-11-12 09:27:02 -0800
committerFranck Cuny <franck.cuny@gmail.com>2016-11-12 09:27:02 -0800
commit0e09b03cb6aaadc336eecc37850631372fa95c2a (patch)
treec611306bd96ee582f64b84a1fe2515454ade0b54
parent[Emacs] Rename config.el to settings.el (diff)
downloademacs.d-0e09b03cb6aaadc336eecc37850631372fa95c2a.tar.gz
[Emacs] add a few comments
-rw-r--r--emacs.d/lib/settings.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs.d/lib/settings.el b/emacs.d/lib/settings.el
index b123c1d..f9d95ab 100644
--- a/emacs.d/lib/settings.el
+++ b/emacs.d/lib/settings.el
@@ -1,10 +1,11 @@
+;; disable tool bar and the scroll bar
(dolist (mode '(tool-bar-mode scroll-bar-mode))
(when (fboundp mode) (funcall mode -1)))
;; auto close bracket insertion
(electric-pair-mode 1)
-;; ?
+;; show trailing white space for prog modes
(add-hook 'prog-mode-hook
(lambda () (setq show-trailing-whitespace t)))
@@ -60,6 +61,7 @@
;; nicer background than plain white
(set-face-background 'default "#FAF6EB")
+;; where to save custom settings
(setq custom-file (expand-file-name "var/emacs-custom.el" user-emacs-directory))
(provide 'settings)