1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-05 11:45:45 +00:00

(mail-mode): Fix last change.

This commit is contained in:
Stefan Monnier 2004-03-05 12:56:03 +00:00
parent 2e8d40a1da
commit fc2a68b537

View File

@ -512,8 +512,9 @@ Turning on Mail mode runs the normal hooks `text-mode-hook' and
;; Allow using comment commands to add/remove quoting (this only does
;; anything if mail-yank-prefix is set to a non-nil value).
(set (make-local-variable 'comment-start) mail-yank-prefix)
(set (make-local-variable 'comment-start-skip)
(concat "^" (regexp-quote mail-yank-prefix) "[ \t]*"))
(if mail-yank-prefix
(set (make-local-variable 'comment-start-skip)
(concat "^" (regexp-quote mail-yank-prefix) "[ \t]*")))
(make-local-variable 'adaptive-fill-regexp)
(setq adaptive-fill-regexp
(concat "[ \t]*[-[:alnum:]]+>+[ \t]*\\|"