diff options
| -rw-r--r-- | .emacs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -273,7 +273,8 @@ (global-set-key (kbd "C-S-<left>") 'shrink-window-horizontally)) -;; Online packages configuration +;; Lighters + (defun my/symbol-as-icon (c) ;; By default, Emacs 28 uses color fonts for characters from (1) the ;; 'emoji script (2) the 'symbol script, when followed by VS-16. @@ -334,6 +335,8 @@ (if (boundp 'flymake-mode-line-lighter) (setq flymake-mode-line-lighter indicator) (delight 'flymake-mode indicator 'flymake)))) + +;; Version control. (add-hook 'magit-pre-refresh-hook 'diff-hl-magit-pre-refresh) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh) @@ -361,7 +364,6 @@ (shell-command-to-string (format "git show --no-patch --date=short --format='%s' %s" "%cd \"%s\" (%h)" rev))))) - ;; Major modes configuration |
