Browse Source

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.
Kyle Meyer 1 year ago
parent
commit
aa32f65f83
3 changed files with 12 additions and 12 deletions
  1. 5 5
      doc/org-manual.org
  2. 3 3
      etc/ORG-NEWS
  3. 4 4
      lisp/org.el

+ 5 - 5
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. |

+ 3 - 3
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=.

+ 4 - 4
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'