Function: ConTeXt-numbered-section-heading
ConTeXt-numbered-section-heading is a byte-compiled function defined
in context.el.
Signature
(ConTeXt-numbered-section-heading)
Documentation
Hook to prompt for ConTeXt section name.
Insert this hook into ConTeXt-numbered-section-hook to allow
the user to change the name of the sectioning command inserted
with M-x ConTeXt-section (ConTeXt-section).
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-numbered-section-heading ()
"Hook to prompt for ConTeXt section name.
Insert this hook into `ConTeXt-numbered-section-hook' to allow
the user to change the name of the sectioning command inserted
with `\\[ConTeXt-section]'."
(let ((string (completing-read
(concat "Select level (default " ConTeXt-name "): ")
ConTeXt-numbered-section-list
nil nil nil)))
;; Update name
(if (not (zerop (length string)))
(setq ConTeXt-name string))))