dotfiles

🎜 Clone'em, tweak'em, stick'em in your $HOME 🎝
git clone https://git.kevinlegouguec.net/dotfiles
Log | Files | Refs | README

commit 64886438558351ebd716de269c6329260bfc6dd4
parent 788b9be5e786d93d315e592fbd8064da54e06d58
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date:   Thu, 21 Nov 2019 21:41:09 +0100

Make some minor improvements to .emacs

Diffstat:
M.emacs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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"))