Commit e8f9dff9 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(show-paren-command-hook):

Always set show-paren-mismatch-face to symbol, not face vector.
parent f1e20cc2
......@@ -82,14 +82,12 @@
(progn
(and (null show-paren-mismatch-face)
(x-display-color-p)
(or (setq show-paren-mismatch-face
(internal-find-face 'paren-mismatch))
(or (internal-find-face 'paren-mismatch)
(progn
(make-face 'paren-mismatch)
(setq show-paren-mismatch-face
'paren-mismatch)
(set-face-background 'paren-mismatch
"purple"))))
"purple")))
(setq show-paren-mismatch-face 'paren-mismatch))
(if show-paren-mismatch-face
(setq face show-paren-mismatch-face)
(message "Paren mismatch"))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment