changeset 14117:50df7ee940e8

(makefile-space-face): Don't work on facemenu-unlisted-faces if it isn't bound.
author Karl Heuer <kwzh@gnu.org>
date Tue, 09 Jan 1996 23:19:17 +0000
parents 5f985037b64f
children e7809b53da4d
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.")