changeset 103626:23b69c963c1d

(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 "*/".
author Alan Mackenzie <acm@muc.de>
date Mon, 29 Jun 2009 14:44:04 +0000
parents bbccbecdb55b
children 2cc306c7ad91
files lisp/progmodes/cc-cmds.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cc-cmds.el	Mon Jun 29 14:38:31 2009 +0000
+++ b/lisp/progmodes/cc-cmds.el	Mon Jun 29 14:44:04 2009 +0000
@@ -4202,8 +4202,7 @@
 	  (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))