about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-04-22 22:26:18 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2018-04-22 22:26:18 +0700
commit65e17501d4dde544826f3141275b4db3fc2250a4 (patch)
tree3c71dcd0bc10cce2b13ec6ccf863c84637a5e11e /emacs
parent200b2343dd47b0f4b8cef1e917f1a9dab216ea88 (diff)
downloaddotfiles-65e17501d4dde544826f3141275b4db3fc2250a4.tar.gz
Update 2018-04-22
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 19c356d..9a806ff 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -4,7 +4,7 @@
 ;; You may delete these explanatory comments.
 (package-initialize)
 (require 'geiser)
-(setq geiser-repl-use-other-window nil)
+(setq-default geiser-repl-use-other-window nil)
 (pdf-tools-install)
 
 (custom-set-variables
@@ -35,8 +35,8 @@
                         :width normal))))
  '(whitespace-space ((t (:foreground "gray")))))
 
+(setq-default inhibit-splash-screen t)
+(setq-default fill-column 80)
+(add-hook 'prog-mode-hook 'ruler-mode)
 (setq-default indent-tabs-mode nil)
-(add-hook 'find-file-hook 'whitespace-mode)
-(add-hook 'find-file-hook 'ruler-mode)
-
-(setq inhibit-splash-screen t)
+(add-hook 'prog-mode-hook 'whitespace-mode)