diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-08-09 22:28:08 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-08-09 22:28:08 +0200 |
commit | 32d8fc999c070a4fa1539ebba6a6310bca58c5ef (patch) | |
tree | 46707165901b39a9a2c2c4dc6e84575a79d18f04 /lisp/emulation/viper-init.el | |
parent | 06cb954ae30f9e3e032b964df09215a788670aed (diff) | |
download | emacs-32d8fc999c070a4fa1539ebba6a6310bca58c5ef.tar.gz emacs-32d8fc999c070a4fa1539ebba6a6310bca58c5ef.tar.bz2 emacs-32d8fc999c070a4fa1539ebba6a6310bca58c5ef.zip |
Avoid using aliases for color functions
* lisp/emulation/viper-init.el (viper-has-face-support-p):
* lisp/emulation/viper-util.el (viper-save-cursor-color)
(viper-change-cursor-color):
* lisp/faces.el (read-color):
* lisp/net/dictionary.el (dictionary-color-support):
* lisp/obsolete/gs.el (gs-set-ghostview-colors-window-prop):
* lisp/progmodes/cperl-mode.el (cperl-choose-color):
* lisp/woman.el (woman-fontify): Avoid using aliases for
color-defined-p, display-color-p, and color-values.
Diffstat (limited to 'lisp/emulation/viper-init.el')
-rw-r--r-- | lisp/emulation/viper-init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el index 5430cd700bd..df2487a4477 100644 --- a/lisp/emulation/viper-init.el +++ b/lisp/emulation/viper-init.el @@ -71,7 +71,7 @@ In all likelihood, you don't need to bother with this setting." (defun viper-has-face-support-p () (cond ((viper-window-display-p)) (viper-force-faces) - ((x-display-color-p)) + ((display-color-p)) (t (memq window-system '(pc))))) |