From 975b62bd33f48d61550088123b5a1bb930558efe Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Wed, 23 May 2018 21:48:23 +0700 Subject: Update 2018-05-23 --- emacs/.emacs.d/init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 9a806ff..bb625aa 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -38,5 +38,10 @@ (setq-default inhibit-splash-screen t) (setq-default fill-column 80) (add-hook 'prog-mode-hook 'ruler-mode) +(add-hook 'python-mode-hook + (lambda () + (setq fill-column 79) + (setq comment-fill-column 72))) + (setq-default indent-tabs-mode nil) -(add-hook 'prog-mode-hook 'whitespace-mode) +(add-hook 'find-file-hook 'whitespace-mode) -- cgit 1.4.1