]> git.donarmstrong.com Git - lib.git/commitdiff
whitespace changes
authorDon Armstrong <don@donarmstrong.com>
Sun, 1 Jan 2023 19:12:27 +0000 (11:12 -0800)
committerDon Armstrong <don@donarmstrong.com>
Sun, 1 Jan 2023 19:12:27 +0000 (11:12 -0800)
emacs_el/configuration/don-configuration.org

index a00859a30e33b6a2cf4a23f4b631d3e1d7e374ab..5027fd74e49e0028c90adeff0f2b1832330fcc14 100644 (file)
@@ -724,8 +724,8 @@ Enable/disable company completion from ispell dictionaries ([[https://github.com
          (save-excursion
            (outline-cycle)))))
 
-(bind-key "<tab>" #'malb/indent-fold-or-complete)
-(bind-key "C-<tab>" #'malb/toggle-fold)
+(bind-key "<tab>" 'malb/indent-fold-or-complete)
+(bind-key "C-<tab>" 'malb/toggle-fold)
 #+END_SRC
 ** Tinyprocmail
 
@@ -1640,13 +1640,13 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
 * Base emacs
 ** Reverting buffers
 #+BEGIN_SRC emacs-lisp
-  (use-package autorevert
-    :diminish auto-revert-mode
-    :config
-    (setq global-auto-revert-non-file-buffers t
-          global-auto-revert-ignore-modes '(pdf-view-mode)
-          auto-revert-verbose nil)
-    (global-auto-revert-mode 1))
+(use-package autorevert
+  :delight auto-revert-mode
+  :config
+  (setq global-auto-revert-non-file-buffers t
+        global-auto-revert-ignore-modes '(pdf-view-mode)
+        auto-revert-verbose nil)
+  (global-auto-revert-mode 1))
 #+END_SRC
 * Org Mode
 ** Use-package and load things
@@ -1901,30 +1901,30 @@ From http://julien.danjou.info/projects/emacs-packages#rainbow-mode, this colori
 #+END_SRC
 ** Utility Functions
 #+BEGIN_SRC emacs-lisp
-  (defun bh/hide-other ()
-    (interactive)
-    (save-excursion
-      (org-back-to-heading 'invisible-ok)
-      (outline-hide-other)
-      (org-cycle)
-      (org-cycle)
-      (org-cycle)))
-
-  (defun bh/set-truncate-lines ()
-    "Toggle value of truncate-lines and refresh window display."
-    (interactive)
-    (setq truncate-lines (not truncate-lines))
-    ;; now refresh window display (an idiom from simple.el):
-    (save-excursion
-      (set-window-start (selected-window)
-                        (window-start (selected-window)))))
+(defun bh/hide-other ()
+  (interactive)
+  (save-excursion
+    (org-back-to-heading 'invisible-ok)
+    (outline-hide-other)
+    (org-cycle)
+    (org-cycle)
+    (org-cycle)))
+
+(defun bh/set-truncate-lines ()
+  "Toggle value of truncate-lines and refresh window display."
+  (interactive)
+  (setq truncate-lines (not truncate-lines))
+  ;; now refresh window display (an idiom from simple.el):
+  (save-excursion
+    (set-window-start (selected-window)
+                      (window-start (selected-window)))))
 
-  (defun bh/switch-to-scratch ()
-    (interactive)
-    (switch-to-buffer "*scratch*"))
+(defun bh/switch-to-scratch ()
+  (interactive)
+  (switch-to-buffer "*scratch*"))
 
-  (setq org-use-fast-todo-selection t)
-  (setq org-treat-S-cursor-todo-selection-as-state-change nil)
+(setq org-use-fast-todo-selection t)
+(setq org-treat-S-cursor-todo-selection-as-state-change nil)
 
 ; create function to create headlines in file. This comes from
 ; http://stackoverflow.com/questions/13340616/assign-ids-to-every-entry-in-org-mode