# HG changeset patch # User Karl Heuer # Date 821229557 0 # Node ID 50df7ee940e8188297157937d33dd6cf304d5f2c # Parent 5f985037b64fa4c1f12f9d131d14458f1be872ee (makefile-space-face): Don't work on facemenu-unlisted-faces if it isn't bound. diff -r 5f985037b64f -r 50df7ee940e8 lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Tue Jan 09 23:19:05 1996 +0000 +++ b/lisp/progmodes/make-mode.el Tue Jan 09 23:19:17 1996 +0000 @@ -201,7 +201,8 @@ "\\(^\\..*\\)\\|\\(.*~$\\)\\|\\(.*,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.")