1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

Remove some compat code from ps-print.el

* lisp/ps-print.el (ps-print-color-p): Assume color-values is
fboundp; it always is.
This commit is contained in:
Stefan Kangas 2022-08-09 22:26:36 +02:00
parent 8caa91b2ce
commit 06cb954ae3
2 changed files with 1 additions and 3 deletions

View file

@ -2037,7 +2037,6 @@ It must be a float between 0.0 (top) and 1.0 (bottom)."
:group 'ebnf2ps) :group 'ebnf2ps)
;; Printing color requires x-color-values.
(defcustom ebnf-color-p t (defcustom ebnf-color-p t
"Non-nil means use color." "Non-nil means use color."
:type 'boolean :type 'boolean

View file

@ -2926,9 +2926,8 @@ Either a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)."
;;; Colors ;;; Colors
;; Printing color requires x-color-values.
;;;###autoload ;;;###autoload
(defcustom ps-print-color-p (fboundp 'x-color-values) (defcustom ps-print-color-p t
"Specify how buffer's text color is printed. "Specify how buffer's text color is printed.
Valid values are: Valid values are: