]> code.delx.au - gnu-emacs/commitdiff
(facemenu-get-face): Remove unised variable `foreground'.
authorEli Zaretskii <eliz@gnu.org>
Sun, 24 Mar 2002 19:17:10 +0000 (19:17 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sun, 24 Mar 2002 19:17:10 +0000 (19:17 +0000)
lisp/facemenu.el

index ce1c859e0599d29f8e8419bdf335530653666853..e6b73b52d1f15843d33232c7b15a915db69363cf 100644 (file)
@@ -799,8 +799,7 @@ use the selected frame.  If t, then the global, non-frame faces are used."
 (defun facemenu-get-face (symbol)
   "Make sure FACE exists.
 If not, create it and add it to the appropriate menu.  Return the SYMBOL."
-  (let ((name (symbol-name symbol))
-       foreground)
+  (let ((name (symbol-name symbol)))
     (cond ((facep symbol))
          (t (make-face symbol))))
   symbol)