+2004-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-msg.el (gnus-configure-posting-styles): Don't cause the
+ "Args out of range" error. Reported by Arnaud Giersch
+ <arnaud.giersch@free.fr>.
+
+2004-11-07 Jesper Harder <harder@ifa.au.dk>
+
+ * gnus-sum.el (gnus-summary-clear-local-variables): Use symbolp.
+ From Stefan Wiens <s.wi@gmx.net>.
+
2004-11-04 Richard M. Stallman <rms@gnu.org>
* spam.el (spam group): Add :version.
(when (and filep v)
(setq v (with-temp-buffer
(insert-file-contents v)
- (goto-char (point-max))
- (skip-chars-backward "\n")
- (delete-region (+ (point) (if (bolp) 0 1)) (point-max))
- (buffer-string))))
+ (buffer-substring (point-min)
+ (progn
+ (goto-char (point-max))
+ (if (zerop (skip-chars-backward "\n"))
+ (point)
+ (1+ (point))))))))
(if (eq element 'import)
(progn
(if (member v stack)
(let ((locals gnus-summary-local-variables))
(while locals
(if (consp (car locals))
- (and (vectorp (caar locals))
+ (and (symbolp (caar locals))
(set (caar locals) nil))
- (and (vectorp (car locals))
+ (and (symbolp (car locals))
(set (car locals) nil)))
(setq locals (cdr locals)))))