diff options
| -rw-r--r-- | lisp/mail/mh-e.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/mail/mh-e.el b/lisp/mail/mh-e.el index d2e27a85242..58ad01ea1ca 100644 --- a/lisp/mail/mh-e.el +++ b/lisp/mail/mh-e.el | |||
| @@ -60,7 +60,7 @@ | |||
| 60 | ;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. | 60 | ;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985. |
| 61 | ;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu | 61 | ;; Rewritten for GNU Emacs, James Larus 1985. larus@ginger.berkeley.edu |
| 62 | ;; Modified by Stephen Gildea 1988. gildea@lcs.mit.edu | 62 | ;; Modified by Stephen Gildea 1988. gildea@lcs.mit.edu |
| 63 | (defconst mh-e-RCS-id "$Id: mh-e.el,v 1.14 1996/05/21 17:26:31 kwzh Exp rms $") | 63 | (defconst mh-e-RCS-id "$Id: mh-e.el,v 1.15 1997/04/12 19:25:28 rms Exp rms $") |
| 64 | 64 | ||
| 65 | ;;; Code: | 65 | ;;; Code: |
| 66 | 66 | ||
| @@ -982,16 +982,16 @@ The value of mh-folder-mode-hook is called when a new folder is set up." | |||
| 982 | (forward-char mh-cmd-note) | 982 | (forward-char mh-cmd-note) |
| 983 | (setq char (following-char)) | 983 | (setq char (following-char)) |
| 984 | (if (or (and remove-all-flags | 984 | (if (or (and remove-all-flags |
| 985 | (or (eql char (aref mh-note-deleted 0)) | 985 | (or (= char (aref mh-note-deleted 0)) |
| 986 | (eql char (aref mh-note-refiled 0)))) | 986 | (= char (aref mh-note-refiled 0)))) |
| 987 | (eql char (aref mh-note-cur 0))) | 987 | (= char (aref mh-note-cur 0))) |
| 988 | (progn | 988 | (progn |
| 989 | (delete-char 1) | 989 | (delete-char 1) |
| 990 | (insert " "))) | 990 | (insert " "))) |
| 991 | (if remove-all-flags | 991 | (if remove-all-flags |
| 992 | (progn | 992 | (progn |
| 993 | (forward-char 1) | 993 | (forward-char 1) |
| 994 | (if (eql (following-char) (aref mh-note-seq 0)) | 994 | (if (= (following-char) (aref mh-note-seq 0)) |
| 995 | (progn | 995 | (progn |
| 996 | (delete-char 1) | 996 | (delete-char 1) |
| 997 | (insert " "))))) | 997 | (insert " "))))) |
| @@ -1123,9 +1123,9 @@ The value of mh-folder-mode-hook is called when a new folder is set up." | |||
| 1123 | (while prev | 1123 | (while prev |
| 1124 | (if range-high | 1124 | (if range-high |
| 1125 | (if (or (not (numberp prev)) | 1125 | (if (or (not (numberp prev)) |
| 1126 | (not (eql (car msgs) (1- prev)))) | 1126 | (not (equal (car msgs) (1- prev)))) |
| 1127 | (progn ;non-sequential, flush old range | 1127 | (progn ;non-sequential, flush old range |
| 1128 | (if (eql prev range-high) | 1128 | (if (eq prev range-high) |
| 1129 | (setq ranges (cons range-high ranges)) | 1129 | (setq ranges (cons range-high ranges)) |
| 1130 | (setq ranges (cons (format "%s-%s" prev range-high) ranges))) | 1130 | (setq ranges (cons (format "%s-%s" prev range-high) ranges))) |
| 1131 | (setq range-high nil)))) | 1131 | (setq range-high nil)))) |