Function: ConTeXt-argument-insert

ConTeXt-argument-insert is a byte-compiled function defined in context.el.

Signature

(ConTeXt-argument-insert ARG OPTIONAL &optional PREFIX)

Documentation

Insert ARG surrounded by curly braces.

If OPTIONAL, only insert it if not empty, and then use square brackets.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-argument-insert (arg optional &optional prefix)
  "Insert ARG surrounded by curly braces.

If OPTIONAL, only insert it if not empty, and then use square brackets."
  (if optional
      (if
          (not (string-equal arg ""))
          (ConTeXt-optional-argument-insert arg prefix))
    (ConTeXt-required-argument-insert arg prefix)))