# HG changeset patch # User Karl Heuer # Date 815546419 0 # Node ID 1f9832fe9e44d01490aaa1a164c6a3edecb2128f # Parent 178d730efae2b5369a9522f4718e7364479fa78f (makefile-define-space-face): Don't make face if non-X. diff -r 178d730efae2 -r 1f9832fe9e44 lisp/progmodes/make-mode.el --- 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