From 0e09b03cb6aaadc336eecc37850631372fa95c2a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Nov 2016 09:27:02 -0800 Subject: [Emacs] add a few comments --- emacs.d/lib/settings.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit 1.4.1