diff options
-rw-r--r-- | emacs.d/lib/settings.el | 4 |
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) |