* gnus-srart.el (gnus-product-quick-file-format): Remove a trailing whitespace.
* lisp/gnus-clfns.el (butlast): Fix a serious bug that it behaved
like `nbutlast'. Special thanks to Keiichi-san for the great
discovery.
- (last, butlast): Use the native function if Emacs 21+ is used.
* lisp/gnus.el (gnus-product-variable-file-list): Add a check for
the value of `gnus-use-correct-string-widths' in the forms.
(define-compiler-macro butlast (&whole form x &optional n)
(if (and (fboundp 'butlast)
- (or (>= emacs-major-version 21)
- (subrp (symbol-function 'butlast))))
+ (subrp (symbol-function 'butlast)))
form
(if n
`(let ((x ,x)
(define-compiler-macro last (&whole form x &optional n)
(if (and (fboundp 'last)
- (or (>= emacs-major-version 21)
- (subrp (symbol-function 'last))))
+ (subrp (symbol-function 'last)))
form
(if n
`(let* ((x ,x)
"\t0)\n"
" (error \"This file was created by later version of "
"gnus.\"))\n"))
- (insert "(setq gnus-product-file-version \n"
+ (insert "(setq gnus-product-file-version\n"
" '((product-version . "
(prin1-to-string (product-version product)) ")\n"
"\t(emacs-version . "