aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-01-09 23:19:17 +0000
committerKarl Heuer1996-01-09 23:19:17 +0000
commit5f55e1592edeace67ab5f29d99091d3783f8a3e6 (patch)
tree1a8c015035882b9f9208560f9d02964d5f969f56
parent767a11517eddccf7125e1e4a89c1cec187300db8 (diff)
downloademacs-5f55e1592edeace67ab5f29d99091d3783f8a3e6.tar.gz
emacs-5f55e1592edeace67ab5f29d99091d3783f8a3e6.zip
(makefile-space-face): Don't work on
facemenu-unlisted-faces if it isn't bound.
-rw-r--r--lisp/progmodes/make-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 3132477ad90..33dc45a7cd8 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -201,7 +201,8 @@ not be enclosed in { } or ( ).")
201 "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)" 201 "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)"
202 "Regex for filenames that will NOT be included in the target list.") 202 "Regex for filenames that will NOT be included in the target list.")
203 203
204(add-to-list 'facemenu-unlisted-faces 'makefile-space-face) 204(if (fboundp 'facemenu-unlisted-faces)
205 (add-to-list 'facemenu-unlisted-faces 'makefile-space-face))
205(defvar makefile-space-face 'makefile-space-face 206(defvar makefile-space-face 'makefile-space-face
206 "Face to use for highlighting leading spaces in Font-Lock mode.") 207 "Face to use for highlighting leading spaces in Font-Lock mode.")
207 208