]> code.delx.au - gnu-emacs/commitdiff
(makefile-space-face): Don't work on
authorKarl Heuer <kwzh@gnu.org>
Tue, 9 Jan 1996 23:19:17 +0000 (23:19 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 9 Jan 1996 23:19:17 +0000 (23:19 +0000)
facemenu-unlisted-faces if it isn't bound.

lisp/progmodes/make-mode.el

index 3132477ad9028c5c0bb6324c224451f432a94918..33dc45a7cd8dea26e7678825a1d3a40f673f2e62 100644 (file)
@@ -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.")