emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp/progmodes cc-cmds.el


From: Alan Mackenzie
Subject: [Emacs-diffs] emacs/lisp/progmodes cc-cmds.el
Date: Mon, 29 Jun 2009 14:44:04 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Alan Mackenzie <acmacm> 09/06/29 14:44:04

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&r1=1.82&r2=1.83

Patches:
Index: cc-cmds.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-cmds.el,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -b -r1.82 -r1.83
--- cc-cmds.el  13 Feb 2009 14:54:27 -0000      1.82
+++ cc-cmds.el  29 Jun 2009 14:44:04 -0000      1.83
@@ -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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]