diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-03-26 20:08:02 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-03-26 20:19:02 +0100 |
commit | 45cfda970d36f6fe2fd4d3b61c4962f695f52c0f (patch) | |
tree | 90c265581a9f0ce9e21908be3197f58627f30905 /Emacs/.config/emacs | |
parent | 2d33e58bd8efaf53d7f898e56fbb9a606f5e8862 (diff) | |
download | dotfiles-45cfda970d36f6fe2fd4d3b61c4962f695f52c0f.tar.gz dotfiles-45cfda970d36f6fe2fd4d3b61c4962f695f52c0f.tar.bz2 dotfiles-45cfda970d36f6fe2fd4d3b61c4962f695f52c0f.zip |
(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
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 25d1a74..b2d4fb5 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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)) |