(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:
2023-03-26 20:08:02 +01:00
parent 2d33e58bd8
commit 45cfda970d

View File

@@ -3,6 +3,7 @@
#+description: My Emacs configuration
#+property: header-args:emacs-lisp :tangle config.el :comments link :results none
#+options: toc:nil
#+startup: noindent
#+begin_center
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)
(haskell-mode-hook . whitespace-mode)
(python-mode-hook . whitespace-mode)
(org-mode-hook . whitespace-mode)
(text-mode-hook . whitespace-mode)
:init
(setq whitespace-style '(face lines-tail spaces tabs tab-mark trailing newline)
whitespace-line-column 80))