diff options
| -rw-r--r-- | .emacs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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")) |
