aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2004-03-04 19:58:24 +0000
committerStefan Monnier2004-03-04 19:58:24 +0000
commitaa83be2adf1a889b0ad3fd2d43909e8b02edb3d4 (patch)
treee9e75fb44c5fe4691ec97d538eb2563e1def3f7d /lisp
parent769996d3748cf4db21892015b6df1411973cdb85 (diff)
downloademacs-aa83be2adf1a889b0ad3fd2d43909e8b02edb3d4.tar.gz
emacs-aa83be2adf1a889b0ad3fd2d43909e8b02edb3d4.zip
(mail-mode): Set comment-start-skip.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/sendmail.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index c44ea46243a..659de4f227c 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1,6 +1,6 @@
1;;; sendmail.el --- mail sending commands for Emacs. -*- byte-compile-dynamic: t -*- 1;;; sendmail.el --- mail sending commands for Emacs. -*- byte-compile-dynamic: t -*-
2 2
3;; Copyright (C) 1985, 86, 92, 93, 94, 95, 96, 98, 2000, 2001, 2002, 2003 3;; Copyright (C) 1985, 86, 92, 93, 94, 95, 96, 98, 2000, 2001, 2002, 03, 2004
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -512,6 +512,8 @@ Turning on Mail mode runs the normal hooks `text-mode-hook' and
512 ;; Allow using comment commands to add/remove quoting (this only does 512 ;; Allow using comment commands to add/remove quoting (this only does
513 ;; anything if mail-yank-prefix is set to a non-nil value). 513 ;; anything if mail-yank-prefix is set to a non-nil value).
514 (set (make-local-variable 'comment-start) mail-yank-prefix) 514 (set (make-local-variable 'comment-start) mail-yank-prefix)
515 (set (make-local-variable 'comment-start-skip)
516 (concat "^" (regexp-quote mail-yank-prefix) "[ \t]*"))
515 (make-local-variable 'adaptive-fill-regexp) 517 (make-local-variable 'adaptive-fill-regexp)
516 (setq adaptive-fill-regexp 518 (setq adaptive-fill-regexp
517 (concat "[ \t]*[-[:alnum:]]+>+[ \t]*\\|" 519 (concat "[ \t]*[-[:alnum:]]+>+[ \t]*\\|"