(Emacs)+noindent startup, +{org,text}-mode-hook for whitespace-mode
+ no more indenting as I have so many nested trees it makes reading hard with indenting + hooks for org-mode and text-mode for whitespace-mode
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
#+description: My Emacs configuration
|
#+description: My Emacs configuration
|
||||||
#+property: header-args:emacs-lisp :tangle config.el :comments link :results none
|
#+property: header-args:emacs-lisp :tangle config.el :comments link :results none
|
||||||
#+options: toc:nil
|
#+options: toc:nil
|
||||||
|
#+startup: noindent
|
||||||
|
|
||||||
#+begin_center
|
#+begin_center
|
||||||
My configuration for (a very specific form of) Emacs
|
My configuration for (a very specific form of) Emacs
|
||||||
@@ -2227,6 +2228,8 @@ limit), so set it for specific modes need the help.
|
|||||||
(c++-mode-hook . whitespace-mode)
|
(c++-mode-hook . whitespace-mode)
|
||||||
(haskell-mode-hook . whitespace-mode)
|
(haskell-mode-hook . whitespace-mode)
|
||||||
(python-mode-hook . whitespace-mode)
|
(python-mode-hook . whitespace-mode)
|
||||||
|
(org-mode-hook . whitespace-mode)
|
||||||
|
(text-mode-hook . whitespace-mode)
|
||||||
:init
|
:init
|
||||||
(setq whitespace-style '(face lines-tail spaces tabs tab-mark trailing newline)
|
(setq whitespace-style '(face lines-tail spaces tabs tab-mark trailing newline)
|
||||||
whitespace-line-column 80))
|
whitespace-line-column 80))
|
||||||
|
|||||||
Reference in New Issue
Block a user