diff options
| author | Glenn Morris | 2009-01-30 07:23:01 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-30 07:23:01 +0000 |
| commit | 4ddca2c57f4fe672c84bdf4ad8028a1689da4ab0 (patch) | |
| tree | f1c8af50a0472674ab626e7ac6740b22ed5f769f /lisp/mail | |
| parent | 98a9d488a3422a240da6b7919e2d61ced68070ee (diff) | |
| download | emacs-4ddca2c57f4fe672c84bdf4ad8028a1689da4ab0.tar.gz emacs-4ddca2c57f4fe672c84bdf4ad8028a1689da4ab0.zip | |
(rmail-speedbar-buttons, rmail-speedbar-move-message-to-folder-on-line):
Use line-end-position.
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/rmail.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 789ecd484d6..79c1c3095d3 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -3857,9 +3857,7 @@ current message into that RMAIL folder." | |||
| 3857 | (setq from t))) | 3857 | (setq from t))) |
| 3858 | (if from | 3858 | (if from |
| 3859 | nil | 3859 | nil |
| 3860 | (setq from (buffer-substring (point) (save-excursion | 3860 | (setq from (buffer-substring (point) (line-end-position))))) |
| 3861 | (end-of-line) | ||
| 3862 | (point)))))) | ||
| 3863 | (goto-char (point-min)) | 3861 | (goto-char (point-min)) |
| 3864 | (if (and (looking-at "Reply to:") | 3862 | (if (and (looking-at "Reply to:") |
| 3865 | (equal from rmail-speedbar-last-user)) | 3863 | (equal from rmail-speedbar-last-user)) |
| @@ -3900,7 +3898,7 @@ TOKEN and INDENT are not used." | |||
| 3900 | (interactive) | 3898 | (interactive) |
| 3901 | (save-excursion | 3899 | (save-excursion |
| 3902 | (beginning-of-line) | 3900 | (beginning-of-line) |
| 3903 | (if (re-search-forward "<M> " (save-excursion (end-of-line) (point)) t) | 3901 | (if (re-search-forward "<M> " (line-end-position) t) |
| 3904 | (progn | 3902 | (progn |
| 3905 | (forward-char -2) | 3903 | (forward-char -2) |
| 3906 | (speedbar-do-function-pointer))))) | 3904 | (speedbar-do-function-pointer))))) |