Enable olivetti mode on specific file types
This commit is contained in:
parent
7ed4764303
commit
a9f4069699
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
(setq my-hooks '(python-mode-hook emacs-lisp-mode-hook json-mode-hook))
|
(setq my-hooks '(python-mode-hook emacs-lisp-mode-hook json-mode-hook))
|
||||||
(while my-hooks (add-hook (car my-hooks)
|
(while my-hooks (add-hook (car my-hooks)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(display-line-numbers-mode 1)))
|
(display-line-numbers-mode 1) (olivetti-mode)))
|
||||||
(setq my-hooks (cdr my-hooks)))
|
(setq my-hooks (cdr my-hooks)))
|
||||||
|
|
||||||
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
|
||||||
|
|
Loading…
Add table
Reference in a new issue