[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs/lisp/progmodes cc-cmds.el [EMACS_23_1_RC]
From: |
Alan Mackenzie |
Subject: |
[Emacs-diffs] emacs/lisp/progmodes cc-cmds.el [EMACS_23_1_RC] |
Date: |
Mon, 29 Jun 2009 22:04:27 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_23_1_RC
Changes by: Alan Mackenzie <acmacm> 09/06/29 22:04:27
Modified files:
lisp/progmodes : cc-cmds.el
Log message:
(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 "*/".
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/progmodes/cc-cmds.el?cvsroot=emacs&only_with_tag=EMACS_23_1_RC&r1=1.82&r2=1.82.2.1
Patches:
Index: cc-cmds.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-cmds.el,v
retrieving revision 1.82
retrieving revision 1.82.2.1
diff -u -b -r1.82 -r1.82.2.1
--- cc-cmds.el 13 Feb 2009 14:54:27 -0000 1.82
+++ cc-cmds.el 29 Jun 2009 22:04:26 -0000 1.82.2.1
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs/lisp/progmodes cc-cmds.el [EMACS_23_1_RC],
Alan Mackenzie <=