summaryrefslogtreecommitdiff
path: root/lisp/facemenu.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2002-03-24 19:17:10 +0000
committerEli Zaretskii <eliz@gnu.org>2002-03-24 19:17:10 +0000
commitc7bce5f21f8802b9c3be7691b6505162c230c232 (patch)
tree511b268c83bcd1f3191c44555e58600b77e5e64f /lisp/facemenu.el
parent1896206dc4bbe359fbb60cae18ef2122658a3692 (diff)
(facemenu-get-face): Remove unised variable `foreground'.
Diffstat (limited to 'lisp/facemenu.el')
-rw-r--r--lisp/facemenu.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index ce1c859e059..e6b73b52d1f 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -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)