Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a95caeed
Commit
a95caeed
authored
Oct 07, 1994
by
Richard M. Stallman
Browse files
(rmail-font-lock-keywords): New variable.
(rmail-variables): Set font-lock-keywords locally.
parent
1a6bc985
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
lisp/mail/rmail.el
lisp/mail/rmail.el
+11
-0
No files found.
lisp/mail/rmail.el
View file @
a95caeed
...
...
@@ -141,6 +141,15 @@ Called with region narrowed to the message, including headers.")
(defvar rmail-overlay-list nil)
(defvar rmail-font-lock-keywords
'(("
^\\
(
From\\|Sender\\):" . font-lock-function-name-face)
("^Reply-To:.*$" . font-lock-function-name-face)
("^Subject:" . font-lock-comment-face)
("^\\(To\\|Apparently-To\\|Cc\\):" . font-lock-keyword-face)
("^[ \t]*\\sw*[>|}].*$
" . font-lock-reference-face) ; Citation.
("
^\\
(
X-[A-Za-z0-9-]+\\|In-reply-to\\|Date\\
)
:.*$
" . font-lock-string-face))
"
Additional
expressions
to
highlight
in
Rmail
mode.
")
;; These are used by autoloaded rmail-summary.
(defvar rmail-summary-buffer nil)
...
...
@@ -605,6 +614,8 @@ Instead, these commands are available:
(defun rmail-variables ()
(make-local-variable 'revert-buffer-function)
(setq revert-buffer-function 'rmail-revert)
(make-local-variable 'font-lock-keywords)
(setq font-lock-keywords rmail-font-lock-keywords)
(make-local-variable 'rmail-last-label)
(make-local-variable 'rmail-last-regexp)
(make-local-variable 'rmail-deleted-vector)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment