diff options
| author | Richard M. Stallman | 1994-05-23 07:45:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-23 07:45:49 +0000 |
| commit | e8f9dff93bc1a0415327d6299a25ca136a833326 (patch) | |
| tree | cfcfa211419222c0f0894137d8219637cb8e0625 | |
| parent | f1e20cc2080c15053b391213ad731c551d750721 (diff) | |
| download | emacs-e8f9dff93bc1a0415327d6299a25ca136a833326.tar.gz emacs-e8f9dff93bc1a0415327d6299a25ca136a833326.zip | |
(show-paren-command-hook):
Always set show-paren-mismatch-face to symbol, not face vector.
| -rw-r--r-- | lisp/paren.el | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/paren.el b/lisp/paren.el index 14d2d0c5b0d..34768396a3d 100644 --- a/lisp/paren.el +++ b/lisp/paren.el | |||
| @@ -82,14 +82,12 @@ | |||
| 82 | (progn | 82 | (progn |
| 83 | (and (null show-paren-mismatch-face) | 83 | (and (null show-paren-mismatch-face) |
| 84 | (x-display-color-p) | 84 | (x-display-color-p) |
| 85 | (or (setq show-paren-mismatch-face | 85 | (or (internal-find-face 'paren-mismatch) |
| 86 | (internal-find-face 'paren-mismatch)) | ||
| 87 | (progn | 86 | (progn |
| 88 | (make-face 'paren-mismatch) | 87 | (make-face 'paren-mismatch) |
| 89 | (setq show-paren-mismatch-face | ||
| 90 | 'paren-mismatch) | ||
| 91 | (set-face-background 'paren-mismatch | 88 | (set-face-background 'paren-mismatch |
| 92 | "purple")))) | 89 | "purple"))) |
| 90 | (setq show-paren-mismatch-face 'paren-mismatch)) | ||
| 93 | (if show-paren-mismatch-face | 91 | (if show-paren-mismatch-face |
| 94 | (setq face show-paren-mismatch-face) | 92 | (setq face show-paren-mismatch-face) |
| 95 | (message "Paren mismatch")))) | 93 | (message "Paren mismatch")))) |