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: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f55e1592edeace67ab5f29d99091d3783f8a3e6;p=emacs.git (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 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.")