Function: texinfo-format-option

texinfo-format-option is a byte-compiled function defined in texinfmt.el.gz.

Signature

(texinfo-format-option)

Documentation

Insert ` ... ' around arg unless inside a table; in that case, no quotes.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/texinfmt.el.gz
(defun texinfo-format-option ()
  "Insert \\=` ... \\=' around arg unless inside a table; in that case, no quotes."
  ;; `looking-at-backward' not available in v. 18.57, 20.2
  (if (not (search-backward "\^H"
                    (line-beginning-position)
                    t))
      (insert "`" (texinfo-parse-arg-discard) "'")
      (insert  (texinfo-parse-arg-discard)))
  (goto-char texinfo-command-start))