Commit e4fe6f9f authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(set-face-attribute): Fix previous change.

parent 312ae771
......@@ -706,6 +706,7 @@ like an underlying face would be, with higher priority than underlying faces."
;; when we update the frame's font param fro the attributes.
(let ((inhibit-face-set-after-frame-default t))
(if (and (eq (car args) :family)
(stringp (cadr args))
(string-match "\\([^-]*\\)-\\([^-]*\\)" (cadr args)))
(let ((foundry (match-string 1 (cadr args)))
(family (match-string 2 (cadr args))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment