1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(comment-indent): "?\ " -> "?\s".

This commit is contained in:
Juanma Barranquero 2006-11-27 14:01:47 +00:00
parent 66564ab0df
commit 7c0bbe7fa1

View file

@ -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))