Function: reftex-move-to-next-arg
reftex-move-to-next-arg is a byte-compiled function defined in
reftex-parse.el.gz.
Signature
(reftex-move-to-next-arg &optional IGNORE)
Documentation
Assuming that we are at the end of a macro name or a macro argument, move forward to the opening parenthesis of the next argument. This function understands the splitting of macros over several lines in TeX.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/reftex-parse.el.gz
(defsubst reftex-move-to-next-arg (&optional _ignore)
"Assuming that we are at the end of a macro name or a macro argument,
move forward to the opening parenthesis of the next argument.
This function understands the splitting of macros over several lines
in TeX."
(cond
;; Just to be quick:
((memq (following-char) '(?\[ ?\{)))
;; Do a search
((and reftex-allow-detached-macro-args
(looking-at "[ \t]*[\n\r]?\\([ \t]*%[^\n\r]*[\n\r]\\)*[ \t]*[[{]"))
(goto-char (1- (match-end 0)))
t)
(t nil)))