# HG changeset patch # User Richard M. Stallman # Date 743322040 0 # Node ID c89f550652607147841886ecbf220ff086baf9bc # Parent 24f3ca095be91cfb3556292ce1cf838f3be84979 (mouse-set-font): Update faces bold, italic and bold-italic. diff -r 24f3ca095be9 -r c89f55065260 lisp/mouse.el --- a/lisp/mouse.el Thu Jul 22 06:12:37 1993 +0000 +++ b/lisp/mouse.el Thu Jul 22 06:20:40 1993 +0000 @@ -923,8 +923,15 @@ (interactive (x-popup-menu last-nonmenu-event x-fixed-font-alist)) (if font - (modify-frame-parameters (selected-frame) - (list (cons 'font font))))) + (progn (modify-frame-parameters (selected-frame) + (list (cons 'font font))) + ;; Update some standard faces too. + (set-face-font 'bold nil (selected-frame)) + (make-face-bold 'bold (selected-frame) t) + (set-face-font 'italic nil (selected-frame)) + (make-face-italic 'italic (selected-frame) t) + (set-face-font 'bold-italic nil (selected-frame)) + (make-face-bold-italic 'bold-italic (selected-frame) t)))) ;;; Bindings for mouse commands.