branch: elpa/lua-mode commit cf9de968e8c18b658b5f608f3320b7a19be8abae Author: juergen <juergen> Commit: juergen <juergen>
Reverted invalid changes for Bug #620 --- lua-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua-mode.el b/lua-mode.el index 74ee4a6..952611f 100755 --- a/lua-mode.el +++ b/lua-mode.el @@ -733,7 +733,7 @@ use standalone." (cons 'absolute (+ (save-excursion (goto-char found-pos) (current-column)) lua-indent-level))) - ((or (string-equal found-token "(") (string-equal found-token "{")) + ((string-equal found-token "(") ;; this is the location where we need to start searching for the ;; matching opening token, when we encounter the next closing token. ;; It is primarily an optimization to save some searchingt ime. @@ -749,7 +749,7 @@ use standalone." (lua-calculate-indentation-block-modifier nil (point)))) (cons 'relative (- lua-indent-level))))) - ((or (string-equal found-token ")") (string-equal found-token "}")) + ((string-equal found-token ")") (save-excursion (lua-goto-matching-block-token nil found-pos) (cons 'absolute