summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-appearance.el3
-rw-r--r--lisp/init-org.el6
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/init-appearance.el b/lisp/init-appearance.el
index c4e7ca3..f8a0b76 100644
--- a/lisp/init-appearance.el
+++ b/lisp/init-appearance.el
@@ -15,7 +15,8 @@
(require-package 'diminish)
(require 'diminish)
(diminish 'abbrev-mode "Ab")
-(diminish 'flyspell-mode "Fy")
+(eval-after-load 'flyspell
+ '(diminish 'flyspell-mode "Fy"))
;; Other minor modes (paredit, view, yas, ...) are diminished where they
;; are setup.
diff --git a/lisp/init-org.el b/lisp/init-org.el
index f74ce07..4ea6215 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -123,8 +123,10 @@ Before running `org-tree-to-indirect-buffer',
(add-hook 'message-mode-hook 'km/load-orgstruct)
(add-hook 'git-commit-mode-hook 'km/load-orgstruct)
-(diminish 'orgtbl-mode "Ot")
-(diminish 'orgstruct-mode "Os")
+(eval-after-load 'org
+ '(diminish 'orgstruct-mode "Os"))
+(eval-after-load 'org-table
+ '(diminish 'orgtbl-mode "Ot"))
;;; Agenda