From 45cfda970d36f6fe2fd4d3b61c4962f695f52c0f Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 26 Mar 2023 20:08:02 +0100 Subject: (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 --- Emacs/.config/emacs/config.org | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Emacs') 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)) -- cgit v1.2.3-13-gbd6f