2004-10-29 Katsumi Yamaoka <yamaoka@jpl.org>
+ * gnus-msg.el (gnus-configure-posting-styles): Work with empty
+ signature file. Suggested by Manoj Srivastava
+ <srivasta@golden-gryphon.com>.
+
* mm-util.el (mm-coding-system-priorities): Prefer iso-8859-1 than
iso-2022-jp even in the Japanese language environment. Suggested
by Jason Rumney <jasonr@gnu.org>.
(setq v (with-temp-buffer
(insert-file-contents v)
(goto-char (point-max))
- (while (bolp)
- (delete-char -1))
+ (skip-chars-backward "\n")
+ (delete-region (+ (point) (if (bolp) 0 1)) (point-max))
(buffer-string))))
(if (eq element 'import)
(progn