Commit 29b51c38 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(pmail-ignored-headers): Hide more fields.

(pmail-next-undeleted-message): If we stay on same message,
don't change anything.
parent 717c97e5
......@@ -61,17 +61,17 @@ advice is temporarily used by pmail until a satisfactory solution
can be written."
(if (not buffer-swapped-with)
;; (if (and (string= "PMAIL" (buffer-name))
;; (< (buffer-size) 1000000))
;; (debug))
;;; (if (and (string= "PMAIL" (buffer-name))
;;; (< (buffer-size) 1000000))
;;; (debug))
(let ((modp (buffer-modified-p)))
;; (save-match-data
;; (let ((case-fold-search nil))
;; (unless (or (string-match "PMAIL" (buffer-name))
;; (string-match "xmail" (buffer-name)))
;; (debug))))
;;; (save-match-data
;;; (let ((case-fold-search nil))
;;; (unless (or (string-match "PMAIL" (buffer-name))
;;; (string-match "xmail" (buffer-name)))
;;; (debug))))
(buffer-swap-text buffer-swapped-with)
(set-buffer-modified-p modp)
......@@ -375,11 +375,13 @@ It is useful to set this variable in the site customization file.")
"*Regexp to match header fields that Pmail should normally hide.
......@@ -2800,7 +2802,6 @@ Returns t if a new message is being shown, nil otherwise."
(message "No previous nondeleted message"))
(if (> n 0)
(message "No following nondeleted message"))
(pmail-show-message-maybe pmail-current-message)
(defun pmail-previous-undeleted-message (n)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment