mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 20:02:51 +00:00
org.el (org-outline-regexp): Turn into a defvar.
`org-outline-regexp' ought to be a defconst but is let-binded in some places -- e.g. see the macro `org-with-limited-levels' and this produces misleading warnings. Thanks to Matthew Sauer for reporting this.
This commit is contained in:
parent
0df11d910c
commit
08fc6384bc
|
@ -4711,7 +4711,10 @@ This variable is set by `org-before-change-function'.
|
|||
(defvar org-inhibit-logging nil) ; Dynamically-scoped param.
|
||||
(defvar org-inhibit-blocking nil) ; Dynamically-scoped param.
|
||||
(defvar org-table-buffer-is-an nil)
|
||||
(defconst org-outline-regexp "\\*+ ")
|
||||
|
||||
;; org-outline-regexp ought to be a defconst but is let-binding
|
||||
;; in some places -- e.g. see the macro org-with-limited-levels
|
||||
(defvar org-outline-regexp "\\*+ ")
|
||||
(defconst org-outline-regexp-bol "^\\*+ ")
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Reference in a new issue