diff options
author | Karl Heuer <kwzh@gnu.org> | 1996-01-09 23:19:17 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1996-01-09 23:19:17 +0000 |
commit | 5f55e1592edeace67ab5f29d99091d3783f8a3e6 (patch) | |
tree | 1a8c015035882b9f9208560f9d02964d5f969f56 /lisp | |
parent | 767a11517eddccf7125e1e4a89c1cec187300db8 (diff) | |
download | emacs-5f55e1592edeace67ab5f29d99091d3783f8a3e6.tar.gz |
(makefile-space-face): Don't work on
facemenu-unlisted-faces if it isn't bound.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/make-mode.el | 3 |
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 ( ).") "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,v$\\)\\|\\(\\.[chy]\\)" "Regex for filenames that will NOT be included in the target list.") -(add-to-list 'facemenu-unlisted-faces 'makefile-space-face) +(if (fboundp 'facemenu-unlisted-faces) + (add-to-list 'facemenu-unlisted-faces 'makefile-space-face)) (defvar makefile-space-face 'makefile-space-face "Face to use for highlighting leading spaces in Font-Lock mode.") |