diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-02-05 09:19:56 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-02-05 09:19:56 +0100 |
commit | ef1edfc25c98233ba179fe743ec6887510f531b3 (patch) | |
tree | 90dff11c14703575f39b5db805d610745b1dd96f | |
parent | 0b5ce28f1e3726f0b783db22ffc299829789a5e8 (diff) | |
download | org-mode-ef1edfc25c98233ba179fe743ec6887510f531b3.tar.gz |
org-num: Add missing :package-version keywords
* lisp/org-num.el (org-num-face):
(org-num-format-function):
(org-num-max-level):
(org-num-skip-commented):
(org-num-skip-footnotes):
(org-num-skip-tags):
(org-num-skip-unnumbered): Add missing :package-version keyword.
-rw-r--r-- | lisp/org-num.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/org-num.el b/lisp/org-num.el index 2966504..5604819 100644 --- a/lisp/org-num.el +++ b/lisp/org-num.el @@ -83,6 +83,7 @@ When nil, use the same face as the headline. This value is ignored if `org-num-format-function' specifies a face for its output." :group 'org-appearance + :package-version '(Org . "9.3") :type '(choice (const :tag "Like the headline" nil) (face :tag "Use face")) :safe (lambda (val) (or (null val) (facep val)))) @@ -94,6 +95,7 @@ return a string, or nil. When nil, no numbering is displayed. Any `face' text property on the returned string overrides `org-num-face'." :group 'org-appearance + :package-version '(Org . "9.3") :type 'function :safe nil) @@ -101,6 +103,7 @@ Any `face' text property on the returned string overrides "Level below which headlines are not numbered. When set to nil, all headlines are numbered." :group 'org-appearance + :package-version '(Org . "9.3") :type '(choice (const :tag "Number everything" nil) (integer :tag "Stop numbering at level")) :safe (lambda (val) (or (null val) (wholenump val)))) @@ -108,12 +111,14 @@ When set to nil, all headlines are numbered." (defcustom org-num-skip-commented nil "Non-nil means commented sub-trees are not numbered." :group 'org-appearance + :package-version '(Org . "9.3") :type 'boolean :safe #'booleanp) (defcustom org-num-skip-footnotes nil "Non-nil means footnotes sections are not numbered." :group 'org-appearance + :package-version '(Org . "9.3") :type 'boolean :safe #'booleanp) @@ -127,12 +132,14 @@ Tag in this list prevent numbering the whole sub-tree, irrespective to `org-use-tags-inheritance', or other means to control tag inheritance." :group 'org-appearance + :package-version '(Org . "9.3") :type '(repeat (string :tag "Tag")) :safe (lambda (val) (and (listp val) (cl-every #'stringp val)))) (defcustom org-num-skip-unnumbered nil "Non-nil means numbering obeys to UNNUMBERED property." :group 'org-appearance + :package-version '(Org . "9.3") :type 'boolean :safe #'booleanp) |