aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/unicode-tokens.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicode-tokens.el')
-rw-r--r--lib/unicode-tokens.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/unicode-tokens.el b/lib/unicode-tokens.el
index 151c644a..f107de5c 100644
--- a/lib/unicode-tokens.el
+++ b/lib/unicode-tokens.el
@@ -1156,7 +1156,11 @@ Commands available are:
(dolist (f (frame-list))
(and (not (eq f (selected-frame)))
(display-graphic-p f)
- (set-face-attribute fontvar f :font font-object)))
+ (set-face-attribute fontvar f :font font-object))
+ ;; da: add this to make sure fonts set by font lock are altered
+ (dolist (w (window-list f))
+ (with-current-buffer (window-buffer w)
+ (when font-lock-mode (font-lock-fontify-buffer)))))
(set-face-attribute fontvar t :font font-object))
(setq spec (list (list t (face-attr-construct fontvar))))
(put fontvar 'customized-face spec)