1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

(c-mask-paragraph): Remove a spurious correction between the visible

width of TABs and their number of bytes, so that point is undisturbed
after typing a space, when there are tabs just before "*/".
This commit is contained in:
Alan Mackenzie 2009-06-29 14:44:04 +00:00
parent b87d9f96e2
commit 2b78d42cb5

View File

@ -4202,8 +4202,7 @@ Warning: Regexp from `c-comment-prefix-regexp' doesn't match the comment prefix
(forward-char (- hang-ender-stuck))
(if (or fill-paragraph (not auto-fill-spaces))
(insert-char ?\ hang-ender-stuck t)
(insert auto-fill-spaces)
(setq here (- here (- hang-ender-stuck (length auto-fill-spaces)))))
(insert auto-fill-spaces))
(delete-char hang-ender-stuck)
(goto-char here))
(set-marker tmp-post nil))