Commit 6490c52e authored by Alan Mackenzie's avatar Alan Mackenzie
Browse files

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.
parent 0f55a32e
......@@ -9355,10 +9355,6 @@ comment at the start of cc-engine.el for more info."
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment