2009-01-30 Glenn Morris <rgm@gnu.org>
* mail/rmail.el (rmail-reply): Handle empty folders.
+ (rmail-speedbar-buttons)
+ (rmail-speedbar-move-message-to-folder-on-line): Use line-end-position.
* mail/rmailsum.el (rmail-summary-update-line): Replace duplicate
line-beginning-position calls.
+ (rmail-header-summary): Use line-end-position.
2009-01-30 Toby Speight <streapadair@gmx.net> (tiny change)
(setq from t)))
(if from
nil
- (setq from (buffer-substring (point) (save-excursion
- (end-of-line)
- (point))))))
+ (setq from (buffer-substring (point) (line-end-position)))))
(goto-char (point-min))
(if (and (looking-at "Reply to:")
(equal from rmail-speedbar-last-user))
(interactive)
(save-excursion
(beginning-of-line)
- (if (re-search-forward "<M> " (save-excursion (end-of-line) (point)) t)
+ (if (re-search-forward "<M> " (line-end-position) t)
(progn
(forward-char -2)
(speedbar-do-function-pointer)))))