summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-06-11 17:55:50 -0400
committerKyle Meyer <kyle@kyleam.com>2020-06-11 17:55:50 -0400
commitaa32f65f8383a3cea1e9dabc0df5b2b959afe3f1 (patch)
tree1da906a692aa0d3b05c66c85e20714eb82d4c773
parentfd6696ea8b41e0dd03d4bc1cd798794b40e0da18 (diff)
downloadorg-mode-aa32f65f8383a3cea1e9dabc0df5b2b959afe3f1.tar.gz
Rename org-startup-numeroted variable to fix typo
* lisp/org.el (org-startup-numerated): Fix "numeroted" typo in variable name. (org-startup-options): (org-mode): * doc/org-manual.org (Dynamic Headline Numbering): (Summary of In-Buffer Settings): Update for rename. Also fix a few related typos in ORG-NEWS and the manual. No compatibility alias has been added, as this variable hasn't yet made it into a release.
-rw-r--r--doc/org-manual.org10
-rw-r--r--etc/ORG-NEWS6
-rw-r--r--lisp/org.el8
3 files changed, 12 insertions, 12 deletions
diff --git a/doc/org-manual.org b/doc/org-manual.org
index efad195..b14c288 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -18724,9 +18724,9 @@ If ~org-num-skip-footnotes~ is non-~nil~, footnotes sections (see
You can control how the numbering is displayed by setting
~org-num-face~ and ~org-num-format-function~.
-#+vindex: org-startup-numeroted
+#+vindex: org-startup-numerated
You can also turn this mode globally for all Org files by setting the
-option ~org-startup-numeroted~ to =t=, or locally on a file by using
+option ~org-startup-numerated~ to =t=, or locally on a file by using
=#+startup: num=.
** The Very Busy {{{kbd(C-c C-c)}}} Key
@@ -18900,9 +18900,9 @@ changes.
| =indent= | Start with Org Indent mode turned on. |
| =noindent= | Start with Org Indent mode turned off. |
- #+vindex: org-startup-numeroted
- Dynamic virtual numerotation of headlines is controlled by the variable
- ~org-startup-numeroted~.
+ #+vindex: org-startup-numerated
+ Dynamic virtual numeration of headlines is controlled by the variable
+ ~org-startup-numerated~.
| =num= | Start with Org num mode turned on. |
| =nonum= | Start with Org num mode turned off. |
diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index ee1ee43..f1b071f 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -192,7 +192,7 @@ increase or decrease, together with the column header size.
*** New startup option =#+startup: num=
-When this startup option is set, display headings as numeroted.
+When this startup option is set, display headings as numerated.
Use =#+startup: nonum= to turn this off.
@@ -317,10 +317,10 @@ You can also set this option to =t= or to =from-agenda=.
This option will add a timeout to notifications.
-*** New option ~org-startup-numeroted~
+*** New option ~org-startup-numerated~
When this option is =t=, Org files will start using ~(org-num-mode 1)~
-and headings will be visually numeroted.
+and headings will be visually numerated.
You can turn this on/off on a per-file basis with =#+startup: num= or
=#+startup: nonum=.
diff --git a/lisp/org.el b/lisp/org.el
index e5cea04..f3202a2 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -978,7 +978,7 @@ 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
+(defcustom org-startup-numerated 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:
@@ -4120,8 +4120,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)
+ ("num" org-startup-numerated t)
+ ("nonum" org-startup-numerated nil)
("hidestars" org-hide-leading-stars t)
("showstars" org-hide-leading-stars nil)
("odd" org-odd-levels-only t)
@@ -4899,7 +4899,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-numerated (require 'org-num) (org-num-mode 1))
(when org-startup-indented (require 'org-indent) (org-indent-mode 1))))
;; Activate `org-table-header-line-mode'