diff options
| author | Eli Zaretskii | 2003-11-01 16:38:55 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2003-11-01 16:38:55 +0000 |
| commit | 867bae0b00ac9aa22648a9d82d49bc40e2ecc83b (patch) | |
| tree | b3472f692439b1497fe0be8a9de24d1eba362fab /lisp | |
| parent | 6cc8bc072cd444af7a8652db2df4944cee295e52 (diff) | |
| download | emacs-867bae0b00ac9aa22648a9d82d49bc40e2ecc83b.tar.gz emacs-867bae0b00ac9aa22648a9d82d49bc40e2ecc83b.zip | |
(rmail-summary-goto-msg): Don't call itself
recursively if the last message is deleted, thus avoiding an
infinite loop.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/mail/rmailsum.el | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3388bee1427..051b572931e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2003-11-01 Alexander Pohoyda <alexander.pohoyda@gmx.net> (tiny change) | ||
| 2 | |||
| 3 | * mail/rmailsum.el (rmail-summary-goto-msg): Don't call itself | ||
| 4 | recursively if the last message is deleted, thus avoiding an | ||
| 5 | infinite loop. | ||
| 6 | |||
| 1 | 2003-10-30 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2003-10-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * textmodes/tex-mode.el (tex-compile-commands): Add `yap' and `ps2pdf'. | 9 | * textmodes/tex-mode.el (tex-compile-commands): Add `yap' and `ps2pdf'. |
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index cd8d7d67aa4..a49b47453d8 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -1074,7 +1074,8 @@ If SKIP-RMAIL, don't do anything to the Rmail buffer." | |||
| 1074 | (if (< n 1) | 1074 | (if (< n 1) |
| 1075 | (progn (message "No preceding message") | 1075 | (progn (message "No preceding message") |
| 1076 | (setq n 1))) | 1076 | (setq n 1))) |
| 1077 | (if (> n total) | 1077 | (if (and (> n total) |
| 1078 | (> total 0)) | ||
| 1078 | (progn (message "No following message") | 1079 | (progn (message "No following message") |
| 1079 | (goto-char (point-max)) | 1080 | (goto-char (point-max)) |
| 1080 | (rmail-summary-goto-msg nil nowarn skip-rmail))) | 1081 | (rmail-summary-goto-msg nil nowarn skip-rmail))) |