]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove duplicate definition of x-display-color-p
authorStefan Kangas <stefan@marxist.se>
Sat, 9 Oct 2021 06:48:34 +0000 (08:48 +0200)
committerStefan Kangas <stefan@marxist.se>
Sat, 9 Oct 2021 06:48:34 +0000 (08:48 +0200)
* lisp/emulation/viper-init.el (x-display-color-p): Remove duplicate
definition.  This would just overwrite the alias defined in faces.el.

lisp/emulation/viper-init.el

index a170d677d2c4d2114f63a95e5b52c448e12e80a3..e3790b7453437ba8d13788b8b11883d58e2762ff 100644 (file)
 
 (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)))))