Function: lua-calculate-indentation-info-1
lua-calculate-indentation-info-1 is a byte-compiled function defined
in lua-mode.el.gz.
Signature
(lua-calculate-indentation-info-1 INDENTATION-INFO BOUND)
Documentation
Helper function for lua-calculate-indentation-info.
Return list of indentation modifiers from point to BOUND.
The argument INDENTATION-INFO is an indentation INFO-LIST.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua-calculate-indentation-info-1 (indentation-info bound)
"Helper function for `lua-calculate-indentation-info'.
Return list of indentation modifiers from point to BOUND.
The argument INDENTATION-INFO is an indentation INFO-LIST."
(while (lua-find-regexp 'forward lua-indentation-modifier-regexp
bound)
(let ((found-token (match-string 0))
(found-pos (match-beginning 0)))
(setq indentation-info
(lua-add-indentation-info-pair
(lua-make-indentation-info-pair found-token found-pos)
indentation-info))))
indentation-info)