diff options
author | Stefan Kangas <stefan@marxist.se> | 2022-08-09 22:26:36 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2022-08-09 22:26:36 +0200 |
commit | 06cb954ae30f9e3e032b964df09215a788670aed (patch) | |
tree | 5fedfdb9aa0cd173ac4d535d2009301a4f4a88cf | |
parent | 8caa91b2ce4a27a9a11d8a7cf190a15b136768e7 (diff) | |
download | emacs-06cb954ae30f9e3e032b964df09215a788670aed.tar.gz emacs-06cb954ae30f9e3e032b964df09215a788670aed.tar.bz2 emacs-06cb954ae30f9e3e032b964df09215a788670aed.zip |
Remove some compat code from ps-print.el
* lisp/ps-print.el (ps-print-color-p): Assume color-values is
fboundp; it always is.
-rw-r--r-- | lisp/progmodes/ebnf2ps.el | 1 | ||||
-rw-r--r-- | lisp/ps-print.el | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 48664608ad2..e19726a7eab 100644 --- a/lisp/progmodes/ebnf2ps.el +++ b/lisp/progmodes/ebnf2ps.el @@ -2037,7 +2037,6 @@ It must be a float between 0.0 (top) and 1.0 (bottom)." :group 'ebnf2ps) -;; Printing color requires x-color-values. (defcustom ebnf-color-p t "Non-nil means use color." :type 'boolean diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 2d6c4542ccc..dad4c8ffbac 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el @@ -2926,9 +2926,8 @@ Either a float or a cons of floats (LANDSCAPE-SIZE . PORTRAIT-SIZE)." ;;; Colors -;; Printing color requires x-color-values. ;;;###autoload -(defcustom ps-print-color-p (fboundp 'x-color-values) +(defcustom ps-print-color-p t "Specify how buffer's text color is printed. Valid values are: |