Commits

scop  committed 66b66ca

2002-08-31 Ville Skyttä <ville.skytta@xemacs.org>

* cc-engine.el (c-parse-state): Fix problem in finding
out the parenthesis state around the indentation position.
Patch from Martin Stjernholm (author).

Message-ID: <5bznv3fc2q.fsf@lister.roxen.com>

  • Participants
  • Parent commits 5e81837

Comments (0)

Files changed (2)

+2002-08-31  Ville Skyttä  <ville.skytta@xemacs.org>
+
+	* cc-engine.el (c-parse-state): Fix problem in finding
+	out the parenthesis state around the indentation position.
+	Patch from Martin Stjernholm (author).
+
 2002-08-02  Rendhalver [Peter Brown]  <rendhalver@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.29 released.

File cc-engine.el

 			    (<= placeholder here)
 			    (eq (char-after (1- placeholder)) ?\}))
 		       (while t
-			 (setq last-bod (c-safe (scan-lists last-bod -1 1)))
+			 (setq last-bod (c-safe (scan-lists last-pos -1 1)))
 			 (if (not last-bod)
 			     (save-excursion
 			       ;; bogus, but what can we do here?