Function: LaTeX-arg-xparse-embellishment

LaTeX-arg-xparse-embellishment is a byte-compiled function defined in latex.el.

Signature

(LaTeX-arg-xparse-embellishment OPTIONAL EMBELLISH)

Documentation

Special insert function for embellishments.

Compatibility argument OPTIONAL is ignored. EMBELLISH is a string with parsed elements inserted in the buffer. This function also sets the value of TeX-exit-mark where the point will be once the insertion is completed.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/latex.el
(defun LaTeX-arg-xparse-embellishment (_optional embellish)
  "Special insert function for embellishments.
Compatibility argument OPTIONAL is ignored.  EMBELLISH is a
string with parsed elements inserted in the buffer.  This
function also sets the value of `TeX-exit-mark' where the point
will be once the insertion is completed."
  (let (p)
    (just-one-space)
    (setq p (point))
    (insert embellish)
    (set-marker TeX-exit-mark (1+ p))))