From 80e01c1954489383a446de2f68cfa7bc34b39a1c Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 5 Nov 1995 04:40:19 +0000 Subject: [PATCH] (makefile-define-space-face): Don't make face if non-X. --- lisp/progmodes/make-mode.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index c40cf7beee9..51e2651fc4b 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -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 @@ Uses `makefile-use-curly-braces-for-macros-p'." (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 @@ Uses `makefile-use-curly-braces-for-macros-p'." "hotpink")))) (set-face-background 'makefile-space-face bg-color)))) -;;; makefile.el ends here +;;; make-mode.el ends here -- 2.39.2