]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-face-attribute): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Fri, 13 Jun 2008 02:04:37 +0000 (02:04 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 13 Jun 2008 02:04:37 +0000 (02:04 +0000)
lisp/faces.el

index 2bd1ffcfc8d49dbeb1e7068e11d1eeba66a70712..f3e8868619665ad23d54edfb565f4c865461aa53 100644 (file)
@@ -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))))