From: Amin Bandali Date: Wed, 30 Oct 2019 16:48:26 +0000 (-0400) Subject: emacs: call erc-hl-nicks-reset-face-table when changing themes X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/d7e02391e80194d3313941407e98ddd9e6ddaede emacs: call erc-hl-nicks-reset-face-table when changing themes --- 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)))