summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2017-04-09 11:46:01 +0200
committerAlan Pearce2017-04-09 11:46:01 +0200
commitc1b163f6790521a80be588a2bc2b8f0cf790061f (patch)
tree901552c3fffa00219180c5badcfd3ae142cd4b6b /emacs
parentcf641adb86b549bcbdd2c696923dd853309c2930 (diff)
downloaddotfiles-c1b163f6790521a80be588a2bc2b8f0cf790061f.tar.lz
dotfiles-c1b163f6790521a80be588a2bc2b8f0cf790061f.tar.zst
dotfiles-c1b163f6790521a80be588a2bc2b8f0cf790061f.zip
Emacs: Don't try to setup cyphejor on old Emacsen (v2)
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.org32
1 files changed, 16 insertions, 16 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index cf6ce16..27f4515 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -322,22 +322,22 @@ Diminishing major modes does not happen in the same manner as minor
 modes.
 
 #+BEGIN_SRC emacs-lisp
-(use-package cyphejor
-  :defer 2
-  :if (not (version<= emacs-version "24.4"))
-  :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)))
+(unless (version<= emacs-version "24.4")
+  (use-package cyphejor
+    :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