emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el,v


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el,v
Date: Sat, 07 Apr 2007 19:50:06 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Alan Mackenzie <acmacm> 07/04/07 19:50:06

Index: cc-cmds.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-cmds.el,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -b -r1.55 -r1.56
--- cc-cmds.el  30 Mar 2007 20:20:35 -0000      1.55
+++ cc-cmds.el  7 Apr 2007 19:50:06 -0000       1.56
@@ -1262,11 +1262,11 @@
                     (backward-char)
                     (skip-chars-backward " \t")
                     (setq beg (point))
-                    (c-save-buffer-state () (c-on-identifier))
+                    (and (c-save-buffer-state () (c-on-identifier))
                     ;; Don't add a space into #define FOO()....
                     (not (and (c-beginning-of-macro)
                               (c-forward-over-cpp-define-id)
-                              (eq (point) beg)))))
+                                    (eq (point) beg))))))
              (save-excursion
                (delete-region beg end)
                (goto-char beg)




reply via email to

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