aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/newcomment.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index 9d089a2e164..d0b29d43f14 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -551,8 +551,8 @@ If CONTINUE is non-nil, use the `comment-continue' markers if any."
551 (indent-to comment-column) 551 (indent-to comment-column)
552 ;; Ensure there's a space before the comment for things 552 ;; Ensure there's a space before the comment for things
553 ;; like sh where it matters (as well as being neater). 553 ;; like sh where it matters (as well as being neater).
554 (unless (memq (char-before) '(nil ?\n ?\t ?\ )) 554 (unless (memq (char-before) '(nil ?\n ?\t ?\s))
555 (insert ?\ )) 555 (insert ?\s))
556 (setq begpos (point)) 556 (setq begpos (point))
557 (insert starter) 557 (insert starter)
558 (setq cpos (point-marker)) 558 (setq cpos (point-marker))