summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-11-12 00:27:05 +0000
committerDave Love <fx@gnu.org>2000-11-12 00:27:05 +0000
commit0eafc06c5e9ca35302687c69e72c674d85e37636 (patch)
treea9e398f319f02ab0d4bdad403f513fdda4e36735 /lisp
parente873dcf5741c75b38706d717265bc7bbddfc1712 (diff)
downloademacs-0eafc06c5e9ca35302687c69e72c674d85e37636.tar.gz
emacs-0eafc06c5e9ca35302687c69e72c674d85e37636.tar.bz2
emacs-0eafc06c5e9ca35302687c69e72c674d85e37636.zip
(mail-font-lock-keywords): Use [:alpha:], not
a-z. (mail-mode): Use [:alnum:] in some regexps.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/sendmail.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index edc60dbf36a..e3992b3e187 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -316,7 +316,7 @@ actually occur.")
(defvar mail-font-lock-keywords
(eval-when-compile
(let* ((cite-chars "[>|}]")
- (cite-prefix "A-Za-z")
+ (cite-prefix "[:alpha:]")
(cite-suffix (concat cite-prefix "0-9_.@-`'\"")))
(list '("^\\(To\\|Newsgroups\\):" . font-lock-function-name-face)
'("^\\(B?CC\\|Reply-to\\):" . font-lock-keyword-face)
@@ -473,19 +473,19 @@ Here are commands that move to a header field (and create it if there isn't):
(make-local-variable 'adaptive-fill-regexp)
(setq adaptive-fill-regexp
(concat "[ \t]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)+"
- "\\|[ \t]*[-a-z0-9A-Z]*>+[ \t]*"
+ "\\|[ \t]*[-[:alnum:]]*>+[ \t]*"
"\\|[ \t]*"))
(make-local-variable 'adaptive-fill-first-line-regexp)
(setq adaptive-fill-first-line-regexp
(concat adaptive-fill-first-line-regexp
- "\\|[ \t]*[-a-z0-9A-Z]*>+[ \t]*"))
+ "\\|[ \t]*[-[:alnum:]]*>+[ \t]*"))
;; `-- ' precedes the signature. `-----' appears at the start of the
;; lines that delimit forwarded messages.
;; Lines containing just >= 3 dashes, perhaps after whitespace,
;; are also sometimes used and should be separators.
(setq paragraph-start (concat (regexp-quote mail-header-separator)
"$\\|\t*\\([-|#;>* ]\\|(?[0-9]+[.)]\\)+$"
- "\\|[ \t]*[a-z0-9A-Z]*>+[ \t]*$\\|[ \t]*$\\|"
+ "\\|[ \t]*[[:alnum:]]*>+[ \t]*$\\|[ \t]*$\\|"
"-- $\\|---+$\\|"
page-delimiter))
(setq paragraph-separate paragraph-start)