emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r112847: Remove faulty optimisation f


From: Alan Mackenzie
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112847: Remove faulty optimisation from indentation calculation.
Date: Tue, 04 Jun 2013 13:26:15 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112847
committer: Alan Mackenzie <address@hidden>
branch nick: trunk
timestamp: Tue 2013-06-04 13:26:15 +0000
message:
          Remove faulty optimisation from indentation calculation.
          * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
          search limit based on 2000 characters back from indent-point.
modified:
  lisp/progmodes/cc-engine.el
=== modified file 'lisp/progmodes/cc-engine.el'
--- a/lisp/progmodes/cc-engine.el       2013-06-01 18:19:29 +0000
+++ b/lisp/progmodes/cc-engine.el       2013-06-04 13:26:15 +0000
@@ -9355,10 +9355,6 @@
                          containing-sexp nil)))
              (setq lim (1+ containing-sexp))))
        (setq lim (point-min)))
-      (when (c-beginning-of-macro)
-       (goto-char indent-point)
-       (let ((lim1 (c-determine-limit 2000)))
-         (setq lim (max lim lim1))))
 
       ;; If we're in a parenthesis list then ',' delimits the
       ;; "statements" rather than being an operator (with the


reply via email to

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