summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKΓ©vin Le Gouguec <kevin.legouguec@gmail.com>2019-05-09 20:34:12 +0200
committerKΓ©vin Le Gouguec <kevin.legouguec@gmail.com>2019-05-09 20:39:12 +0200
commitb5f4d6a3ce61e8f3e712a17831bfd81977e0eb45 (patch)
tree9c0ad3b622f925f4cecae440abeb4181fa91ca44
parentdbe5e392da3abd5d8651dfd5f92b30b8850b1e7b (diff)
downloaddotfiles-b5f4d6a3ce61e8f3e712a17831bfd81977e0eb45.tar.xz
Use symbols rather than strings to give packages to delight
Would be neat if the constant face could be applied to this last argument, just like it is highlighted in require and provide statements. Alas, those are covered by font-lock rules in lisp-mode.el…
-rw-r--r--.emacs36
1 files changed, 18 insertions, 18 deletions
diff --git a/.emacs b/.emacs
index b7c7e83..3ccc586 100644
--- a/.emacs
+++ b/.emacs
@@ -100,28 +100,28 @@
;; Online packages configuration
;; So long, Will Mengarini.
-(delight 'abbrev-mode nil "abbrev")
+(delight 'abbrev-mode nil 'abbrev)
(delight 'auto-fill-function "⏎" t)
-(delight 'auto-revert-mode "⟳" "autorevert")
-(delight 'auto-revert-tail-mode "–" "autorevert")
-(delight 'compilation-in-progress "βš™" "compile")
-(delight 'eldoc-mode "πŸ“–" "eldoc")
-(delight 'footnote-mode "ΒΉ" "footnote")
-(delight 'flyspell-mode (propertize "πŸ–‹" 'face 'flyspell-incorrect) "flyspell")
-(delight 'hi-lock-mode nil "hi-lock")
-(delight 'hs-minor-mode "…" "hideshow")
-(delight 'isearch-mode "πŸ”" "isearch")
-(delight 'org-indent-mode "Β»" "org-indent")
-(delight 'magit-blame-mode "πŸ‘‰" "magit-blame")
-(delight 'mml-mode "πŸ–†" "mml")
-(delight 'page-break-lines-mode nil "page-break-lines")
-(delight 'scroll-lock-mode "πŸ“œ" "scroll-lock")
+(delight 'auto-revert-mode "⟳" 'autorevert)
+(delight 'auto-revert-tail-mode "–" 'autorevert)
+(delight 'compilation-in-progress "βš™" 'compile)
+(delight 'eldoc-mode "πŸ“–" 'eldoc)
+(delight 'footnote-mode "ΒΉ" 'footnote)
+(delight 'flyspell-mode (propertize "πŸ–‹" 'face 'flyspell-incorrect) 'flyspell)
+(delight 'hi-lock-mode nil 'hi-lock)
+(delight 'hs-minor-mode "…" 'hideshow)
+(delight 'isearch-mode "πŸ”" 'isearch)
+(delight 'org-indent-mode "Β»" 'org-indent)
+(delight 'magit-blame-mode "πŸ‘‰" 'magit-blame)
+(delight 'mml-mode "πŸ–†" 'mml)
+(delight 'page-break-lines-mode nil 'page-break-lines)
+(delight 'scroll-lock-mode "πŸ“œ" 'scroll-lock)
(delight 'text-scale-mode
'(:eval (if (>= text-scale-mode-amount 0) "πŸ—š" "πŸ—›"))
- "face-remap")
+ 'face-remap)
(delight 'visual-line-mode "β€Έ" t)
-(delight 'whitespace-mode nil "whitespace")
-(delight 'with-editor-mode "⸎" "with-editor")
+(delight 'whitespace-mode nil 'whitespace)
+(delight 'with-editor-mode "⸎" 'with-editor)
;; TODO: Narrow (βŒ–, β›Ά)
(defun my/magit-mode-hook ()