From: Miles Bader Date: Thu, 21 Dec 2000 02:11:01 +0000 (+0000) Subject: (mail-mode): Set `comment-start' to the yank prefix. X-Git-Tag: emacs-pretest-21.0.95~361 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eba52a1acadf47b74216bb86b8c3d78a5e339341;p=emacs.git (mail-mode): Set `comment-start' to the yank prefix. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 11df955c11f..1711f6ddc10 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -475,6 +475,9 @@ Here are commands that move to a header field (and create it if there isn't): (setq normal-auto-fill-function 'mail-mode-auto-fill) (make-local-variable 'fill-paragraph-function) (setq fill-paragraph-function 'mail-mode-fill-paragraph) + ;; 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) (make-local-variable 'adaptive-fill-regexp) (setq adaptive-fill-regexp (concat "[ \t]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)+"