summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2006-11-27 14:01:47 +0000
committerJuanma Barranquero <lekktu@gmail.com>2006-11-27 14:01:47 +0000
commit7c0bbe7fa1f4df3280ad18d2b3ffdfbb076773cc (patch)
tree416b178edbf896d92b84a5397fb4e385806aa776 /lisp/newcomment.el
parent66564ab0df6a58ea19c011f3d1a7611bd2df393b (diff)
downloademacs-7c0bbe7fa1f4df3280ad18d2b3ffdfbb076773cc.tar.gz
(comment-indent): "?\ " -> "?\s".
Diffstat (limited to 'lisp/newcomment.el')
-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."
(indent-to comment-column)
;; Ensure there's a space before the comment for things
;; like sh where it matters (as well as being neater).
- (unless (memq (char-before) '(nil ?\n ?\t ?\ ))
- (insert ?\ ))
+ (unless (memq (char-before) '(nil ?\n ?\t ?\s))
+ (insert ?\s))
(setq begpos (point))
(insert starter)
(setq cpos (point-marker))