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-mode.el,v


From: Alan Mackenzie
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el,v
Date: Fri, 09 Mar 2007 23:11:15 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Alan Mackenzie <acmacm> 07/03/09 23:11:15

Index: cc-mode.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/progmodes/cc-mode.el,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -b -r1.54 -r1.55
--- cc-mode.el  8 Mar 2007 21:50:51 -0000       1.54
+++ cc-mode.el  9 Mar 2007 23:11:15 -0000       1.55
@@ -490,6 +490,7 @@
   ;; isn't critical.
   (setq c-maybe-stale-found-type nil)
   (save-restriction
+    (save-match-data
     (widen)
     (save-excursion
       ;; Are we inserting/deleting stuff in the middle of an identifier?
@@ -545,7 +546,7 @@
                    (list type marked-id
                          type-pos term-pos
                          (buffer-substring-no-properties type-pos term-pos)
-                         (buffer-substring-no-properties beg end))))))))))
+                           (buffer-substring-no-properties beg end)))))))))))
 
 (defun c-after-change (beg end old-len)
   ;; Function put on `after-change-functions' to adjust various caches




reply via email to

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