Remove duplicate definition of x-display-color-p

* lisp/emulation/viper-init.el (x-display-color-p): Remove duplicate
definition.  This would just overwrite the alias defined in faces.el.
This commit is contained in:
Stefan Kangas 2021-10-09 08:48:34 +02:00
parent 5c0a512ef4
commit f35246db19

View file

@ -44,11 +44,6 @@
(define-obsolete-function-alias 'viper-device-type #'window-system "27.1")
(defun x-display-color-p ()
(condition-case nil
(display-color-p)
(error nil)))
;; in XEmacs: device-type is tty on tty and stream in batch.
(defun viper-window-display-p ()
(and window-system (not (memq window-system '(tty stream pc)))))