summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2019-11-21 21:41:09 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2019-11-21 21:41:09 +0100
commit64886438558351ebd716de269c6329260bfc6dd4 (patch)
treeef129f8a43d7aa9ff4f928561282129a441e6d30
parent788b9be5e786d93d315e592fbd8064da54e06d58 (diff)
downloaddotfiles-64886438558351ebd716de269c6329260bfc6dd4.tar.xz
Make some minor improvements to .emacs
-rw-r--r--.emacs3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs b/.emacs
index 4959256..b7374fb 100644
--- a/.emacs
+++ b/.emacs
@@ -60,6 +60,7 @@
(defun my/make-toggle-input-method (input-method)
(lambda ()
+ (:documentation (format "Toggle `%s' input method." input-method))
(interactive)
;; `current-input-method' is a string; if INPUT-METHOD is a
;; symbol, neither eq, eql nor equal would return t.
@@ -135,7 +136,7 @@
(delight 'with-editor-mode "⸎" 'with-editor)
;; TODO: Narrow (⌖, ⛶)
-(if (version< emacs-version "27")
+(if (< emacs-major-version 27)
(delight 'compilation-in-progress "⚙" 'compile)
(message "TODO: tweak compilation lighter"))