Function: ConTeXt-outline-name

ConTeXt-outline-name is a byte-compiled function defined in context.el.

Signature

(ConTeXt-outline-name)

Documentation

Guess a name for the current header line.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
;; Imenu support

(defun ConTeXt-outline-name ()
  "Guess a name for the current header line."
  (save-excursion
    (if (re-search-forward "{\\([^}]*\\)}" (line-end-position) t)
        (match-string 1)
      (buffer-substring-no-properties (point) (line-end-position)))))