summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-03-15 11:57:03 -0400
committerKyle Meyer <kyle@kyleam.com>2014-03-15 12:04:35 -0400
commit09f5609dac91c1465250007244501228734f4c4a (patch)
tree2b690c31f11e59ac29ba7f3bfe2fa79deeeed858 /lisp
parent04e1de9b4dc940cf0085b7e2d49306848341c274 (diff)
downloademacs.d-09f5609dac91c1465250007244501228734f4c4a.tar.gz
Fix new diminishing
Changes in ebe6d8a were not tested at load time.
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