diff options
| -rw-r--r-- | .emacs | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -186,8 +186,13 @@ ;; TODO: Narrow (⌖, ⛶) (if (< emacs-major-version 27) - (delight 'compilation-in-progress "⚙" 'compile) - (message "TODO: tweak compilation lighter")) + (delight 'compilation-in-progress + (propertize "⚙" 'face 'compilation-mode-line-run) + 'compile) + (let* ((indicator (alist-get 'compilation-in-progress mode-line-modes)) + (old-props (text-properties-at 0 (car indicator))) + (new-props '(face compilation-mode-line-run))) + (setcar indicator (apply #'propertize "⚙" (append new-props old-props))))) (add-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh t) |
