all repos — nixfiles @ 861b202f45a455ae9fbef720aa7bfcb52402a5b3

System and user configuration, managed by nix and home-manager

Emacs: Delay init of cyphejor-mode
Alan Pearce alan.pearce@spotcap.com
Wed, 09 Dec 2015 17:01:53 +0100
commit

861b202f45a455ae9fbef720aa7bfcb52402a5b3

parent

260fad2ed071931265d3919faa3d429e06103e2c

1 files changed, 14 insertions(+), 13 deletions(-)

jump to
M tag-emacs/emacs.d/init.orgtag-emacs/emacs.d/init.org
@@ -1354,19 +1354,20 @@ modes. 
 #+BEGIN_SRC emacs-lisp
   (use-package cyphejor
-    :init (progn
-            (setq cyphejor-rules `(("emacs"       "ε")
-                                   ("diff"        "Δ")
-                                   ("js2"         "js")
-                                   ("magit-status" ,(char-to-string (-find #'char-displayable-p '(11942 5848 177))))
-                                   ("inferior"    "i" :prefix)
-                                   ("interaction" "i" :prefix)
-                                   ("interactive" "i" :prefix)
-                                   ("menu"        "▤" :postfix)
-                                   ("ledger"      "Ledger")
-                                   ("mode"        "")
-                                   ("shell"       "sh" :postfix)))
-            (cyphejor-mode 1)))
+    :defer 2
+    :config (progn
+              (setq cyphejor-rules `(("emacs"       "ε")
+                                     ("diff"        "Δ")
+                                     ("js2"         "js")
+                                     ("magit-status" ,(char-to-string (-find #'char-displayable-p '(11942 5848 177))))
+                                     ("inferior"    "i" :prefix)
+                                     ("interaction" "i" :prefix)
+                                     ("interactive" "i" :prefix)
+                                     ("menu"        "▤" :postfix)
+                                     ("ledger"      "Ledger")
+                                     ("mode"        "")
+                                     ("shell"       "sh" :postfix)))
+              (cyphejor-mode 1)))
 #+END_SRC
 
 * Modes