all repos — nixfiles @ 1e26e7e7710eef364d32bf3609ee7946e74347d6

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

Emacs: remove cyphejor version check
Alan Pearce alan@alanpearce.eu
Sat, 16 Jun 2018 20:16:02 +0200
commit

1e26e7e7710eef364d32bf3609ee7946e74347d6

parent

6df3afccf7467b48615ecb6b82507883ad7fb62f

1 files changed, 15 insertions(+), 16 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -283,22 +283,21 @@ ;; Diminishing major modes does not happen in the same manner as minor
 ;; modes.
 
-(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 (seq-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))))
+(use-package cyphejor
+  :defer 2
+  :config (progn
+            (setq cyphejor-rules `(("emacs"       "ε")
+                                   ("diff"        "Δ")
+                                   ("js2"         "js")
+                                   ("magit-status" ,(char-to-string (seq-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)))
 
 
 ;;;; Environment Variables