changeset 34767:0be0c72fb0ad

(mail-mode): Set `comment-start' to the yank prefix.
author Miles Bader <miles@gnu.org>
date Thu, 21 Dec 2000 02:11:01 +0000
parents 053098519a45
children 639b7b18d203
files lisp/mail/sendmail.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Thu Dec 21 02:09:37 2000 +0000
+++ b/lisp/mail/sendmail.el	Thu Dec 21 02:11:01 2000 +0000
@@ -475,6 +475,9 @@
   (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]+[.)] *\\)+"