(news-reply-mode): Make mail-header-separator into regexp

This commit is contained in:
Richard M. Stallman
1995-04-08 20:11:04 +00:00
parent 0408f0ac5a
commit ab0fbbe9d6

View File

@@ -132,9 +132,9 @@ C-c C-r caesar rotate all letters by 13 places in the article's body (rot13)."
(setq mode-name "News Reply")
(make-local-variable 'paragraph-separate)
(make-local-variable 'paragraph-start)
(setq paragraph-start (concat mail-header-separator "$\\|"
(setq paragraph-start (concat (regexp-quote mail-header-separator) "$\\|"
paragraph-start))
(setq paragraph-separate (concat mail-header-separator "$\\|"
(setq paragraph-separate (concat (regexp-quote mail-header-separator) "$\\|"
paragraph-separate))
(run-hooks 'text-mode-hook 'news-reply-mode-hook))