]> git.armaanb.net Git - config.org.git/commitdiff
Alphabetize dolists
authorArmaan Bhojwani <me@armaanb.net>
Thu, 1 Jul 2021 00:16:41 +0000 (20:16 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Thu, 1 Jul 2021 00:24:56 +0000 (20:24 -0400)
config.org

index 59fef7a65285d61ab2837e7aa1e3037b568df30b..562a12abd6d1021188c336caeddcc1e8c53299bd 100644 (file)
@@ -139,16 +139,20 @@ Highlight whitespace and other bad text practices.
 ** Visual line mode
 Soft wrap words and do operations by visual lines in some modes.
 #+begin_src emacs-lisp
-  (dolist (hook '(text-mode-hook
-                  org-mode-hook
+  (dolist (hook '(
                   markdown-mode-hook
-                  mu4e-view-mode-hook))
+                  mu4e-view-mode-hook
+                  org-mode-hook
+                  text-mode-hook
+                  ))
     (add-hook hook (lambda () (visual-line-mode 1))))
 #+end_src
 ** Auto fill mode
 #+begin_src emacs-lisp
-  (dolist (hook '(scdoc-mode-hook
-                  mu4e-compose-mode-hook))
+  (dolist (hook '(
+                  mu4e-compose-mode-hook
+                  scdoc-mode-hook
+                  ))
     (add-hook hook (lambda () (auto-fill-mode 1))))
 #+end_src
 ** Display number of matches in search
@@ -728,9 +732,11 @@ Style is basically ddevault's style guide but with 4 spaces instead of 8 char ta
 ** Spell checking
 Spell check in text mode, and in prog-mode comments.
 #+begin_src emacs-lisp
-  (dolist (hook '(text-mode-hook
+  (dolist (hook '(
                   markdown-mode-hook
-                  scdoc-mode-hook))
+                  scdoc-mode-hook
+                  text-mode-hook
+                  ))
     (add-hook hook (lambda () (flyspell-mode))))
   (dolist (hook '(change-log-mode-hook log-edit-mode-hook))
     (add-hook hook (lambda () (flyspell-mode -1))))