diff options
| author | Kim F. Storm | 2005-04-05 08:10:00 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-04-05 08:10:00 +0000 |
| commit | 1e39fa2637fe90dbd0c081b4553ef43edc6562c2 (patch) | |
| tree | 6e1d1836b5d666fb904689fd3e22cb77e9be82f8 | |
| parent | 7ed08c01fa530e311dd81410f0e3d892dade7da1 (diff) | |
| download | emacs-1e39fa2637fe90dbd0c081b4553ef43edc6562c2.tar.gz emacs-1e39fa2637fe90dbd0c081b4553ef43edc6562c2.zip | |
Use (featurep 'xemacs).
| -rw-r--r-- | lisp/ediff-init.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el index 46e94e935f7..969097b6f76 100644 --- a/lisp/ediff-init.el +++ b/lisp/ediff-init.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; ediff-init.el --- Macros, variables, and defsubsts used by Ediff | 1 | ;;; ediff-init.el --- Macros, variables, and defsubsts used by Ediff |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 95, 96, 97, 98, 99, 2000, 01, 02, 04 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
| 4 | ;; 2004, 2005 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> | 6 | ;; Author: Michael Kifer <kifer@cs.stonybrook.edu> |
| 6 | 7 | ||
| @@ -43,7 +44,7 @@ | |||
| 43 | ;; end pacifier | 44 | ;; end pacifier |
| 44 | 45 | ||
| 45 | ;; Is it XEmacs? | 46 | ;; Is it XEmacs? |
| 46 | (defconst ediff-xemacs-p (string-match "XEmacs" emacs-version)) | 47 | (defconst ediff-xemacs-p (featurep 'xemacs)) |
| 47 | ;; Is it Emacs? | 48 | ;; Is it Emacs? |
| 48 | (defconst ediff-emacs-p (not ediff-xemacs-p)) | 49 | (defconst ediff-emacs-p (not ediff-xemacs-p)) |
| 49 | 50 | ||
| @@ -53,7 +54,7 @@ | |||
| 53 | ;; compiler at hand. | 54 | ;; compiler at hand. |
| 54 | ;; Suggested by rms. | 55 | ;; Suggested by rms. |
| 55 | (defmacro ediff-cond-compile-for-xemacs-or-emacs (xemacs-form emacs-form) | 56 | (defmacro ediff-cond-compile-for-xemacs-or-emacs (xemacs-form emacs-form) |
| 56 | (if (string-match "XEmacs" emacs-version) | 57 | (if (featurep 'xemacs) |
| 57 | xemacs-form emacs-form)) | 58 | xemacs-form emacs-form)) |
| 58 | 59 | ||
| 59 | (defvar ediff-force-faces nil | 60 | (defvar ediff-force-faces nil |
| @@ -1145,9 +1146,9 @@ this variable represents.") | |||
| 1145 | 1146 | ||
| 1146 | (defface ediff-even-diff-face-B | 1147 | (defface ediff-even-diff-face-B |
| 1147 | (if ediff-emacs-p | 1148 | (if ediff-emacs-p |
| 1148 | `((((class color) (min-colors 16)) | 1149 | `((((class color) (min-colors 16)) |
| 1149 | (:foreground "White" :background "Grey")) | 1150 | (:foreground "White" :background "Grey")) |
| 1150 | (((class color)) | 1151 | (((class color)) |
| 1151 | (:foreground "blue3" :background "Grey" :weight bold)) | 1152 | (:foreground "blue3" :background "Grey" :weight bold)) |
| 1152 | (t (:italic t :stipple ,stipple-pixmap))) | 1153 | (t (:italic t :stipple ,stipple-pixmap))) |
| 1153 | `((((type tty)) (:foreground "blue3" :background "Grey" :weight bold)) | 1154 | `((((type tty)) (:foreground "blue3" :background "Grey" :weight bold)) |