org.el (org-outline-regexp, org-outline-regexp-bol): Add a docstring.
* org.el (org-outline-regexp, org-outline-regexp-bol): Add a docstring.
This commit is contained in:
parent
d13476b918
commit
436290bfab
17
lisp/org.el
17
lisp/org.el
|
@ -4715,10 +4715,19 @@ This variable is set by `org-before-change-function'.
|
||||||
(defvar org-inhibit-blocking nil) ; Dynamically-scoped param.
|
(defvar org-inhibit-blocking nil) ; Dynamically-scoped param.
|
||||||
(defvar org-table-buffer-is-an nil)
|
(defvar org-table-buffer-is-an nil)
|
||||||
|
|
||||||
;; org-outline-regexp ought to be a defconst but is let-binding
|
;; `org-outline-regexp' ought to be a defconst but is let-binding in
|
||||||
;; in some places -- e.g. see the macro org-with-limited-levels
|
;; some places -- e.g. see the macro org-with-limited-levels.
|
||||||
(defvar org-outline-regexp "\\*+ ")
|
;;
|
||||||
(defconst org-outline-regexp-bol "^\\*+ ")
|
;; In Org buffers, the value of `outline-regexp' is that of
|
||||||
|
;; `org-outline-regexp'. The only function still directly relying on
|
||||||
|
;; `outline-regexp' is `org-overview' so that `org-cycle' can do its
|
||||||
|
;; job when `orgstruct-mode' is active.
|
||||||
|
(defvar org-outline-regexp "\\*+ "
|
||||||
|
"Regexp to match Org headlines.")
|
||||||
|
(defconst org-outline-regexp-bol "^\\*+ "
|
||||||
|
"Regexp to match Org headlines.
|
||||||
|
This is similar to `org-outline-regexp' but additionally makes
|
||||||
|
sure that we are at the beginning of the line.")
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-derived-mode org-mode outline-mode "Org"
|
(define-derived-mode org-mode outline-mode "Org"
|
||||||
|
|
Loading…
Reference in New Issue