From: Stefan Monnier Date: Fri, 5 Mar 2004 12:56:03 +0000 (+0000) Subject: (mail-mode): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~7338 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc2a68b5379de8cecbf85e5b81bd0f3743787026;p=emacs.git (mail-mode): Fix last change. --- diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 659de4f227c..932f52204c5 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el @@ -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]*\\|"