Function: ConTeXt-paragraph-commands-regexp-make

ConTeXt-paragraph-commands-regexp-make is a byte-compiled function defined in context.el.

Signature

(ConTeXt-paragraph-commands-regexp-make)

Documentation

Return a regexp matching macros that should begin their own line.

Aliases

ConTeXt-paragraph-commands-regexp

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/context.el
(defun ConTeXt-paragraph-commands-regexp-make ()
  "Return a regexp matching macros that should begin their own line."
  (concat
   (regexp-quote TeX-esc) "\\(?:"
   "[][]\\|"  ; display math delimitors (is this applicable to ConTeXt??)
   (ConTeXt-environment-start-name) "\\|"
   (ConTeXt-environment-stop-name) "\\|"
   (mapconcat #'car ConTeXt-numbered-section-list "\\b\\|") "\\b\\|"
   (mapconcat #'car ConTeXt-unnumbered-section-list "\\b\\|") "\\b\\|"
   (mapconcat #'identity ConTeXt-paragraph-commands "\\b\\|") "\\b\\|"
   (mapconcat #'identity ConTeXt-extra-paragraph-commands "\\b\\|")
   "\\b\\|"
   (mapconcat #'identity ConTeXt-item-list "\\b\\|") "\\b\\)"))