From 2fbae114a3e6747346717b144196ad6fd09f11eb Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Thu, 8 Sep 2022 08:52:00 -0400 Subject: Flyspell mode in org --- lisp/org-custom.el | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'lisp/org-custom.el') diff --git a/lisp/org-custom.el b/lisp/org-custom.el index 584d0fc..066a2d9 100644 --- a/lisp/org-custom.el +++ b/lisp/org-custom.el @@ -26,9 +26,9 @@ `(org-level-5 ((t (,@headline ,@variable-tuple)))) `(org-level-4 ((t (,@headline ,@variable-tuple :height 0.8)))) `(org-level-3 ((t (,@headline ,@variable-tuple :height 0.9)))) - `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.0)))) - `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.1 :weight bold)))) - `(org-document-title ((t (,@headline ,@variable-tuple :height 1.5 :underline t :weight:bold)))))) + `(org-level-2 ((t (,@headline ,@variable-tuple :height 1.0 :weight bold)))) + `(org-level-1 ((t (,@headline ,@variable-tuple :height 1.2 :weight bold)))) + `(org-document-title ((t (,@headline ,@variable-tuple :height 1.3 :weight:bold)))))) (custom-theme-set-faces 'user @@ -44,8 +44,7 @@ '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8)))) '(org-verbatim ((t (:inherit (shadow fixed-pitch)))))) - (variable-pitch-mode) - (visual-line-mode) + (variable-pitch-mode 1) (require 'org-bullets) (org-bullets-mode 1) @@ -53,7 +52,10 @@ (visual-line-mode 1) (setq org-blank-before-new-entry (quote ((heading . nil) - (plain-list-item . nil)))) + (plain-list-item . nil)))) + + (require 'flyspell) + (flyspell-mode 1) ) (custom-set-variables @@ -64,12 +66,7 @@ '((sequence "TODO" "PROGRESS" "VERIFY" "|" "DONE" "ABANDONED"))) (setq org-todo-keyword-faces - '(("TODO" . "RED") ("PROGRESS" . "royal blue") ("VERIFY" . "#E0A526") ("ABANDONED" . "light gray") ("DONE" . "dark green")) - ) - - -'(org-agenda-files (list org-directory)) -'(org-directory "~/Documents/org") + '(("TODO" . "RED") ("PROGRESS" . "royal blue") ("VERIFY" . "#E0A526") ("ABANDONED" . "light gray") ("DONE" . "dark green"))) (add-hook 'org-mode-hook 'org-custom-hook) -- cgit v1.2.1