1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-01 20:06:00 +00:00

Clean the code for checking suitable Emacs version.

This commit is contained in:
Vinicius Jose Latorre 2007-11-09 15:34:03 +00:00
parent 4a6789f7cd
commit d54ad49647
2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,7 @@
2007-11-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
* ps-print.el (ps-do-despool): If ps-lpr-switches is not a list, force
it to be one.
* ps-print.el: Clean the code for checking suitable Emacs version.
(ps-do-despool): If ps-lpr-switches is not a list, force it to be one.
(ps-print-version): New version 6.8.1.
2007-11-09 Juanma Barranquero <lekktu@gmail.com>

View File

@ -1462,12 +1462,11 @@ Please send all bug fixes and enhancements to
(or (featurep 'lisp-float-type)
(error "`ps-print' requires floating point support"))
(let ((case-fold-search t))
(cond ((featurep 'xemacs))
(t
(unless (and (boundp 'emacs-major-version)
(>= emacs-major-version 22))
(error "`ps-print' only supports Emacs 22 and higher")))))
(if (featurep 'xemacs)
()
(unless (and (boundp 'emacs-major-version)
(>= emacs-major-version 22))
(error "`ps-print' only supports Emacs 22 and higher")))
;; GNU Emacs