(frame-update-faces): Unset old font.
authorKarl Heuer <kwzh@gnu.org>
Wed, 27 Apr 1994 00:30:55 +0000 (00:30 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 27 Apr 1994 00:30:55 +0000 (00:30 +0000)
lisp/faces.el

index bb506e6..36336f9 100644 (file)
@@ -840,6 +840,9 @@ selected frame."
        (if (listp font)
            (let ((bold (memq 'bold font))
                  (italic (memq 'italic font)))
+             ;; Ignore any previous (string-valued) font, it might not even
+             ;; be the right size anymore.
+             (set-face-font face nil frame)
              (cond ((and bold italic)
                     (make-face-bold-italic face frame t))
                    (bold