diff options
Diffstat (limited to 'elisp/mfl-mode.el')
-rw-r--r-- | elisp/mfl-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/mfl-mode.el b/elisp/mfl-mode.el index b9f5af43..ddf44dcc 100644 --- a/elisp/mfl-mode.el +++ b/elisp/mfl-mode.el @@ -159,9 +159,9 @@ if no matching line was found." ((looking-at regexp) (throw 'found (current-indentation))) ((looking-at "\\<done\\>") - (mfl-find-line-indent "\\<do\\>")) + (mfl-find-line-indentation "\\(\\<on\\>.*\\)?\\<do\\>")) ((looking-at "\\<fi\\>") - (mfl-find-line-indent "\\<if\\>")))) + (mfl-find-line-indentation "\\<if\\>")))) 0)) (defun mfl-find-line-forward (regexp) |