|
@@ -972,6 +972,19 @@ the following lines anywhere in the buffer:
|
|
|
(const :tag "Not" nil)
|
|
|
(const :tag "Globally (slow on startup in large files)" t)))
|
|
|
|
|
|
+(defcustom org-startup-numeroted nil
|
|
|
+ "Non-nil means turn on `org-num-mode' on startup.
|
|
|
+This can also be configured on a per-file basis by adding one of
|
|
|
+the following lines anywhere in the buffer:
|
|
|
+
|
|
|
+ #+STARTUP: num
|
|
|
+ #+STARTUP: nonum"
|
|
|
+ :group 'org-structure
|
|
|
+ :package-version '(Org . "9.4")
|
|
|
+ :type '(choice
|
|
|
+ (const :tag "Not" nil)
|
|
|
+ (const :tag "Globally" t)))
|
|
|
+
|
|
|
(defcustom org-use-sub-superscripts t
|
|
|
"Non-nil means interpret \"_\" and \"^\" for display.
|
|
|
|
|
@@ -4050,6 +4063,8 @@ After a match, the following groups carry important information:
|
|
|
("content" org-startup-folded content)
|
|
|
("indent" org-startup-indented t)
|
|
|
("noindent" org-startup-indented nil)
|
|
|
+ ("num" org-startup-numeroted t)
|
|
|
+ ("nonum" org-startup-numeroted nil)
|
|
|
("hidestars" org-hide-leading-stars t)
|
|
|
("showstars" org-hide-leading-stars nil)
|
|
|
("odd" org-odd-levels-only t)
|
|
@@ -4809,6 +4824,7 @@ The following commands are available:
|
|
|
(when org-startup-with-latex-preview (org-latex-preview '(16)))
|
|
|
(unless org-inhibit-startup-visibility-stuff (org-set-startup-visibility))
|
|
|
(when org-startup-truncated (setq truncate-lines t))
|
|
|
+ (when org-startup-numeroted (require 'org-num) (org-num-mode 1))
|
|
|
(when org-startup-indented (require 'org-indent) (org-indent-mode 1))))
|
|
|
|
|
|
;; Activate `org-table-header-line-mode'
|