aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2025-01-14 06:35:42 -0800
committercolin <colin@cicadas.surf>2025-01-14 06:35:42 -0800
commitee7338ee55c3ca3101b3683c0cde8836f0224aa6 (patch)
treebb63fe69a92af5c97e1f8ad45ffb84fb7e2ad976
parent738c8307c671f2b6038780f58d6fec32c0baae75 (diff)
yerp
-rw-r--r--init-el.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/init-el.org b/init-el.org
index 323d134..2b97abb 100644
--- a/init-el.org
+++ b/init-el.org
@@ -1122,22 +1122,22 @@ imenu-list displayes imenu results in a a navigable table-of-contents tree-like
#+end_src
-** Niceright Mode
+** Nicerite Mode
-Niceright mode isn't a mode at all. It is just setting a margin and
+Nicerite mode isn't a mode at all. It is just setting a margin and
setting visual line mode on all org files to make writing org a little
nicer.
#+name: nicerite-mode
#+begin_src elisp :noweb no-export
-(defun nicerite-mode ()
+(defun nicerite-hook ()
(setq left-margin-width 6)
(setq right-margin-width 6)
(visual-line-mode))
-(add-hook 'org-mode-hook 'nicerite-mode)
+(add-hook 'org-mode-hook 'nicerite-hook)