summaryrefslogtreecommitdiff
path: root/lisp/org-custom.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/org-custom.el')
-rw-r--r--lisp/org-custom.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 8d7e42e..584d0fc 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -1,6 +1,8 @@
-;; https://zzamboni.org/post/beautifying-org-mode-in-emacs/
+
+;;; Code:
(defun org-custom-hook()
+ "Custom org mode hook."
(setq org-hide-emphasis-markers t)
(font-lock-add-keywords 'org-mode
'(("^ *\\([-]\\) "
@@ -69,4 +71,7 @@
'(org-agenda-files (list org-directory))
'(org-directory "~/Documents/org")
+(add-hook 'org-mode-hook 'org-custom-hook)
+
(provide 'org-custom)
+;;; org-custom.el ends here