From: Karl Heuer Date: Tue, 9 Jan 1996 23:19:17 +0000 (+0000) Subject: (makefile-space-face): Don't work on X-Git-Tag: emacs-19.34~1743 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/5f55e1592edeace67ab5f29d99091d3783f8a3e6?hp=767a11517eddccf7125e1e4a89c1cec187300db8 (makefile-space-face): Don't work on facemenu-unlisted-faces if it isn't bound. --- diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 3132477ad9..33dc45a7cd 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.")