Function: preview-back-command
preview-back-command is a byte-compiled function defined in
preview.el.
Signature
(preview-back-command &optional NOCOMPLEX)
Documentation
Move backward a TeX token.
If NOCOMPLEX is set, only basic tokens and no argument sequences will be skipped over backwards.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-back-command (&optional nocomplex)
"Move backward a TeX token.
If NOCOMPLEX is set, only basic tokens and no argument sequences
will be skipped over backwards."
(let ((oldpos (point)) oldpoint)
(condition-case nil
(or (search-backward-regexp "\\(\\$\\$?\
\\|\\\\[^a-zA-Z@]\
\\|\\\\[a-zA-Z@]+\
\\|\\\\begin[ \t]*{[^}]+}\
\\)\\=" (line-beginning-position) t)
nocomplex
(if (eq ?\) (char-syntax (char-before)))
(while
(progn
(setq oldpoint (point))
(backward-sexp)
(and (not (eq oldpoint (point)))
(eq ?\( (char-syntax (char-after))))))
(backward-char)))
(error (goto-char oldpos)))))