aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2009-06-29 14:44:04 +0000
committerAlan Mackenzie2009-06-29 14:44:04 +0000
commit2b78d42cb53e349b4c54cd5192a4dd271c33d32a (patch)
treeb820f3396f0764bda50bd9a323fc2243b87be251
parentb87d9f96e22679e15e563717dacf1484e61168a9 (diff)
downloademacs-2b78d42cb53e349b4c54cd5192a4dd271c33d32a.tar.gz
emacs-2b78d42cb53e349b4c54cd5192a4dd271c33d32a.zip
(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 "*/".
-rw-r--r--lisp/progmodes/cc-cmds.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index 1c51a4b6fd2..cb88f344cc0 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -4202,8 +4202,7 @@ Warning: Regexp from `c-comment-prefix-regexp' doesn't match the comment prefix
4202 (forward-char (- hang-ender-stuck)) 4202 (forward-char (- hang-ender-stuck))
4203 (if (or fill-paragraph (not auto-fill-spaces)) 4203 (if (or fill-paragraph (not auto-fill-spaces))
4204 (insert-char ?\ hang-ender-stuck t) 4204 (insert-char ?\ hang-ender-stuck t)
4205 (insert auto-fill-spaces) 4205 (insert auto-fill-spaces))
4206 (setq here (- here (- hang-ender-stuck (length auto-fill-spaces)))))
4207 (delete-char hang-ender-stuck) 4206 (delete-char hang-ender-stuck)
4208 (goto-char here)) 4207 (goto-char here))
4209 (set-marker tmp-post nil)) 4208 (set-marker tmp-post nil))