about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/grfn/emacs.d/org-config.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/users/grfn/emacs.d/org-config.el b/users/grfn/emacs.d/org-config.el
index 81fb35a1cbda..b36628ab03f0 100644
--- a/users/grfn/emacs.d/org-config.el
+++ b/users/grfn/emacs.d/org-config.el
@@ -1,5 +1,12 @@
 ;;; -*- lexical-binding: t; -*-
 
+(defun +grfn/org-setup ()
+  (setq-local truncate-lines -1)
+  (display-line-numbers-mode -1)
+  (line-number-mode -1))
+
+(add-hook 'org-mode-hook #'+grfn/org-setup)
+
 (defun notes-file (f)
   (concat org-directory (if (string-prefix-p "/" f) "" "/") f))
 
@@ -173,13 +180,6 @@
  #'forge--post-submit-callback
  :around #'forge--post-submit-around---link-pr-to-org-item)
 
-(defun +grfn/org-setup ()
-  (setq-local truncate-lines -1)
-  (display-line-numbers-mode -1)
-  (line-number-mode -1))
-
-(add-hook 'org-mode-hook #'+grfn/org-setup)
-
 (set-face-foreground 'org-block +solarized-s-base00)
 (setq whitespace-global-modes '(not org-mode magit-mode vterm-mode))
 (setf (alist-get 'file org-link-frame-setup) 'find-file-other-window)