aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)