aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-07-29 05:37:32 +0000
committerRichard M. Stallman1993-07-29 05:37:32 +0000
commit15a36ac5acf7800ea3e65ccaf2e2decae999b3d1 (patch)
tree71ee37a190e635a2d3aa3e67718b3c9beb7f2b5a
parent5e2a0ae4fb722e6ceb6a31d79ec6fb9c4f2c454c (diff)
downloademacs-15a36ac5acf7800ea3e65ccaf2e2decae999b3d1.tar.gz
emacs-15a36ac5acf7800ea3e65ccaf2e2decae999b3d1.zip
(rmail-nuke-pinhead-header): Tell replace-match not to alter the case.
(rmail-toggle-header, rmail-reformat-message): Ignore case when checking for Summary-line.
-rw-r--r--lisp/mail/rmail.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index e0d07beb917..f600251de83 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -965,7 +965,8 @@ argument causes us to read a file name and use that file as the inbox."
965 ;; have a From: field. 965 ;; have a From: field.
966 (if has-from 966 (if has-from
967 "" 967 ""
968 "From: \\1\n"))))))))) 968 "From: \\1\n"))
969 t)))))))
969 970
970;;;; *** Rmail Message Formatting and Header Manipulation *** 971;;;; *** Rmail Message Formatting and Header Manipulation ***
971 972
@@ -979,8 +980,9 @@ argument causes us to read a file name and use that file as the inbox."
979 (delete-char 1) 980 (delete-char 1)
980 (insert ?1) 981 (insert ?1)
981 (forward-line 1) 982 (forward-line 1)
982 (if (looking-at "Summary-line: ") 983 (let ((case-fold-search t))
983 (forward-line 1)) 984 (if (looking-at "Summary-line: ")
985 (forward-line 1)))
984 (if (looking-at "\\*\\*\\* EOOH \\*\\*\\*\n") 986 (if (looking-at "\\*\\*\\* EOOH \\*\\*\\*\n")
985 (delete-region (point) 987 (delete-region (point)
986 (progn (forward-line 1) (point)))) 988 (progn (forward-line 1) (point))))
@@ -1019,8 +1021,9 @@ argument causes us to read a file name and use that file as the inbox."
1019 (progn (delete-char 1) 1021 (progn (delete-char 1)
1020 (insert ?0) 1022 (insert ?0)
1021 (forward-line 1) 1023 (forward-line 1)
1022 (if (looking-at "Summary-Line:") 1024 (let ((case-fold-search t))
1023 (forward-line 1)) 1025 (if (looking-at "Summary-Line:")
1026 (forward-line 1)))
1024 (insert "*** EOOH ***\n") 1027 (insert "*** EOOH ***\n")
1025 (forward-char -1) 1028 (forward-char -1)
1026 (search-forward "\n*** EOOH ***\n") 1029 (search-forward "\n*** EOOH ***\n")