aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-11 20:18:06 +0000
committerRichard M. Stallman1993-08-11 20:18:06 +0000
commita1251f7964c1ee06b2668b91beeb423e1471f341 (patch)
tree6ebcb93e0e98145863d86d4de4164e56ecfb6f1d
parentf16a1ed371acd6ad5052ab2b615289702ba514c4 (diff)
downloademacs-a1251f7964c1ee06b2668b91beeb423e1471f341.tar.gz
emacs-a1251f7964c1ee06b2668b91beeb423e1471f341.zip
(show-paren-command-hook): Don't use value of make-face.
-rw-r--r--lisp/paren.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/paren.el b/lisp/paren.el
index 1c517bdf500..f6dce5e5dfa 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -82,8 +82,9 @@
82 (or (setq show-paren-mismatch-face 82 (or (setq show-paren-mismatch-face
83 (internal-find-face 'paren-mismatch)) 83 (internal-find-face 'paren-mismatch))
84 (progn 84 (progn
85 (make-face 'paren-mismatch)
85 (setq show-paren-mismatch-face 86 (setq show-paren-mismatch-face
86 (make-face 'paren-mismatch)) 87 'paren-mismatch)
87 (set-face-background 'paren-mismatch 88 (set-face-background 'paren-mismatch
88 "purple")))) 89 "purple"))))
89 (if show-paren-mismatch-face 90 (if show-paren-mismatch-face