Emacs: changelog indentation

master
Pierre Neidhardt 2014-11-10 00:02:42 +01:00
parent caaa959a7f
commit 80651b53b1
1 changed files with 6 additions and 0 deletions

View File

@ -102,6 +102,12 @@
(setq indent-tabs-mode nil))))
'(lisp-mode-hook emacs-lisp-mode-hook))
(add-hook
'change-log-mode-hook
(lambda ()
(setq tab-width 2)
(setq left-margin 2)))
;; This needs to be set globally since they are defined as local variable and
;; Emacs does not know how to set an alias on a local variable.
(defvaralias 'c-basic-offset 'tab-width)