emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/facemenu.el,v


From: Richard M. Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/facemenu.el,v
Date: Wed, 18 Oct 2006 10:51:00 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Richard M. Stallman <rms>       06/10/18 10:51:00

Index: facemenu.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/facemenu.el,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -b -r1.90 -r1.91
--- facemenu.el 10 Aug 2006 04:31:21 -0000      1.90
+++ facemenu.el 18 Oct 2006 10:51:00 -0000      1.91
@@ -690,6 +690,9 @@
     (cond ((facemenu-iterate ; check if equivalent face is already in the menu
            (lambda (m) (and (listp m)
                             (symbolp (car m))
+                            ;; Avoid error in face-equal
+                            ;; when a non-face is erroneously present.
+                            (facep (car m))
                             (face-equal (car m) symbol)))
            (cdr (symbol-function menu))))
          ;; Faces with a keyboard equivalent.  These go at the front.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]