branch: externals/idlwave commit 488c383d12c906fac30f6e57bf1dab74b2084986 Author: jdsmith <jdsmith> Commit: jdsmith <jdsmith>
- Bound the function search to avoid having much earlier still-open functions change the continuation indent. --- idlwave.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/idlwave.el b/idlwave.el index 7227255d8e..f725615a4d 100644 --- a/idlwave.el +++ b/idlwave.el @@ -6,7 +6,7 @@ ;; Chris Chase <ch...@att.com> ;; Maintainer: J.D. Smith <jdsm...@as.arizona.edu> ;; Version: VERSIONTAG -;; Date: $Date: 2004/10/15 23:16:33 $ +;; Date: $Date: 2004/10/16 01:05:49 $ ;; Keywords: languages ;; This file is part of GNU Emacs. @@ -3035,7 +3035,8 @@ groupings, are treated separately." ((catch 'assign ; (while (looking-at "[^=\n\r]*\\(=\\)[ \t]*") (goto-char (match-end 0)) - (if (null (idlwave-what-function)) (throw 'assign t)))) + (if (null (idlwave-what-function beg-reg)) + (throw 'assign t)))) (unless (or (idlwave-in-quote) (looking-at "[ \t$]*\\(;.*\\)?$") ; use basic