diff options
| -rw-r--r-- | lisp/mail/rmailsort.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mail/rmailsort.el b/lisp/mail/rmailsort.el index 397e2d62f51..2ad4277a41d 100644 --- a/lisp/mail/rmailsort.el +++ b/lisp/mail/rmailsort.el | |||
| @@ -116,6 +116,8 @@ If prefix argument REVERSE is non-nil, sort them in reverse order." | |||
| 116 | "Sort messages of current Rmail file. | 116 | "Sort messages of current Rmail file. |
| 117 | 1st argument REVERSE is non-nil, sort them in reverse order. | 117 | 1st argument REVERSE is non-nil, sort them in reverse order. |
| 118 | 2nd argument KEYFUNC is called with message number, and should return a key." | 118 | 2nd argument KEYFUNC is called with message number, and should return a key." |
| 119 | (or (eq major-mode 'rmail-mode) | ||
| 120 | (error "Current buffer not in Rmail mode")) | ||
| 119 | (let ((buffer-read-only nil) | 121 | (let ((buffer-read-only nil) |
| 120 | (sort-lists nil)) | 122 | (sort-lists nil)) |
| 121 | (message "Finding sort keys...") | 123 | (message "Finding sort keys...") |