aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-22 06:20:40 +0000
committerRichard M. Stallman1993-07-22 06:20:40 +0000
commit26d86f19f9444957fd7a9a5fd28ad55a3cdae681 (patch)
treeb11ea4a73987c0b2c9f7af2eda760841764224ac
parent313d590c15bda951da66306f3d705474e4295eef (diff)
downloademacs-26d86f19f9444957fd7a9a5fd28ad55a3cdae681.tar.gz
emacs-26d86f19f9444957fd7a9a5fd28ad55a3cdae681.zip
(mouse-set-font): Update faces bold, italic and bold-italic.
-rw-r--r--lisp/mouse.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index fc00dddbb4f..03beeac69ba 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -923,8 +923,15 @@ and selects that window."
923 (interactive 923 (interactive
924 (x-popup-menu last-nonmenu-event x-fixed-font-alist)) 924 (x-popup-menu last-nonmenu-event x-fixed-font-alist))
925 (if font 925 (if font
926 (modify-frame-parameters (selected-frame) 926 (progn (modify-frame-parameters (selected-frame)
927 (list (cons 'font font))))) 927 (list (cons 'font font)))
928 ;; Update some standard faces too.
929 (set-face-font 'bold nil (selected-frame))
930 (make-face-bold 'bold (selected-frame) t)
931 (set-face-font 'italic nil (selected-frame))
932 (make-face-italic 'italic (selected-frame) t)
933 (set-face-font 'bold-italic nil (selected-frame))
934 (make-face-bold-italic 'bold-italic (selected-frame) t))))
928 935
929;;; Bindings for mouse commands. 936;;; Bindings for mouse commands.
930 937