Function: ConTeXt-paragraph-commands-add-locally

ConTeXt-paragraph-commands-add-locally is a byte-compiled function defined in context.el.

Signature

(ConTeXt-paragraph-commands-add-locally COMMANDS)

Documentation

Make COMMANDS be recognized as paragraph commands.

COMMANDS can be a single string or a list of strings which will be added to ConTeXt-extra-paragraph-commands. Additionally LaTeX-paragraph-commands-regexp will be updated. This is mainly a convenience function which can be used in style files.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-paragraph-commands-add-locally (commands)
  "Make COMMANDS be recognized as paragraph commands.
COMMANDS can be a single string or a list of strings which will be added
to `ConTeXt-extra-paragraph-commands'.  Additionally
`LaTeX-paragraph-commands-regexp' will be updated.
This is mainly a convenience function which can be used in style files."
  (unless (listp commands) (setq commands (list commands)))
  (dolist (elt commands)
    (add-to-list 'ConTeXt-extra-paragraph-commands elt))
  (setq-local LaTeX-paragraph-commands-regexp
              (ConTeXt-paragraph-commands-regexp-make))
  (ConTeXt-set-paragraph-start))