1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Remove some XEmacs compat code for display-graphic-p

* lisp/dframe.el (dframe-have-timer-flag):
* lisp/emacs-lisp/chart.el (chart-face-pixmap-list):
* lisp/speedbar.el (speedbar-easymenu-definition-base): Remove
XEmacs compat code; assume display-graphic-p is fboundp.

* lisp/progmodes/cperl-mode.el (cperl-tags-hier-init): Remove XEmacs
compat code.
This commit is contained in:
Stefan Kangas 2022-05-14 22:36:36 +02:00
parent b5621dbe2f
commit a0af789d06
4 changed files with 8 additions and 19 deletions

View file

@ -120,9 +120,7 @@
:prefix "dframe-"
:group 'dframe)
(defvar dframe-have-timer-flag (if (fboundp 'display-graphic-p)
(display-graphic-p)
window-system)
(defvar dframe-have-timer-flag (display-graphic-p)
"Non-nil means that timers are available for this Emacs.
This is nil for terminals, since updating a frame in a terminal
is not useful to the user.")