changeset 13402:1f9832fe9e44

(makefile-define-space-face): Don't make face if non-X.
author Karl Heuer <kwzh@gnu.org>
date Sun, 05 Nov 1995 04:40:19 +0000
parents 178d730efae2
children fd657bdc6982
files lisp/progmodes/make-mode.el
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/make-mode.el	Sat Nov 04 03:54:42 1995 +0000
+++ b/lisp/progmodes/make-mode.el	Sun Nov 05 04:40:19 1995 +0000
@@ -1,4 +1,4 @@
-;;; makefile.el --- makefile editing commands for Emacs
+;;; make-mode.el --- makefile editing commands for Emacs
 
 ;; Copyright (C) 1992, 1994 Free Software Foundation, Inc.
 
@@ -1362,7 +1362,8 @@
     (nreverse alist)))
 
 (defun makefile-define-space-face ()
-  (make-face 'makefile-space-face)
+  (if (eq window-system 'x)
+      (make-face 'makefile-space-face))
   (or (face-differs-from-default-p 'makefile-space-face)
       (let* ((params (frame-parameters))
 	     (light-bg (cdr (assq 'background-mode params)))
@@ -1376,4 +1377,4 @@
 			      "hotpink"))))
 	(set-face-background 'makefile-space-face bg-color))))
 
-;;; makefile.el ends here
+;;; make-mode.el ends here