summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-10-30 12:48:26 -0400
committerAmin Bandali <bandali@gnu.org>2019-10-30 12:48:26 -0400
commitd7e02391e80194d3313941407e98ddd9e6ddaede (patch)
tree70c9e0934850cc6304d028de571ba9d47e259b3c
parente38333d993269faf5f6d918961d4769eda115d1f (diff)
downloadconfigs-d7e02391e80194d3313941407e98ddd9e6ddaede.tar.gz
configs-d7e02391e80194d3313941407e98ddd9e6ddaede.tar.xz
configs-d7e02391e80194d3313941407e98ddd9e6ddaede.zip
emacs: call erc-hl-nicks-reset-face-table when changing themes
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 5321686..f60c736 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -1563,6 +1563,8 @@ This function is intended for use with `ivy-ignore-buffers'."
(sml/apply-theme 'tangomod)
(font-lock-remove-keywords
'org-mode b/org-mode-font-lock-keywords)
+ (when (featurep 'erc-hl-nicks)
+ (erc-hl-nicks-reset-face-table))
(when (featurep 'exwm-systemtray)
(exwm-systemtray--refresh)))
@@ -1574,6 +1576,8 @@ This function is intended for use with `ivy-ignore-buffers'."
(sml/apply-theme 'automatic)
(font-lock-add-keywords
'org-mode b/org-mode-font-lock-keywords t)
+ (when (featurep 'erc-hl-nicks)
+ (erc-hl-nicks-reset-face-table))
(when (featurep 'exwm-systemtray)
(exwm-systemtray--refresh)))