From 528f876a84a425180351449bf65362efda5d2205 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 5 Mar 2004 12:56:55 +0000 Subject: [PATCH] (message-mode): Fix last change. --- lisp/gnus/message.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 874307383c2..4c6284b6d85 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el @@ -1531,9 +1531,10 @@ M-RET `message-newline-and-reformat' (break the line and reformat)." (set (make-local-variable 'message-mime-part) 0) (message-setup-fill-variables) ;; Allow using comment commands to add/remove quoting. - (set (make-local-variable 'comment-start) message-yank-prefix) - (set (make-local-variable 'comment-start-skip) - (concat "^" (regexp-quote message-yank-prefix) "[ \t]*")) + (when message-yank-prefix + (set (make-local-variable 'comment-start) message-yank-prefix) + (set (make-local-variable 'comment-start-skip) + (concat "^" (regexp-quote message-yank-prefix) "[ \t]*"))) ;;(when (fboundp 'mail-hist-define-keys) ;; (mail-hist-define-keys)) (if (featurep 'xemacs) -- 2.39.5