diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-01 12:40:28 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-12-01 13:03:19 +0100 |
commit | 4b2f5425d7af1a6f992ad8ce0a4452a2e778815a (patch) | |
tree | 7fe2d24c72633a03e636b7935f4601acc39a0973 /lisp/org | |
parent | 4161023a63d68534d3e70931645ac82a88330334 (diff) | |
download | emacs-4b2f5425d7af1a6f992ad8ce0a4452a2e778815a.tar.gz emacs-4b2f5425d7af1a6f992ad8ce0a4452a2e778815a.tar.bz2 emacs-4b2f5425d7af1a6f992ad8ce0a4452a2e778815a.zip |
Fix types in various defcustom declarations
* lisp/org/ob-clojure.el
(ob-clojure-babashka-command, ob-clojure-nbb-command):
Account for the possibility of nil (commands absent).
* lisp/org/org.el (org-safe-remote-resources):
* lisp/org/ox-md.el (org-md-toplevel-hlevel):
* lisp/progmodes/project.el (project-vc-extra-root-markers):
Fix incorrect or invalid types.
Diffstat (limited to 'lisp/org')
-rw-r--r-- | lisp/org/ob-clojure.el | 4 | ||||
-rw-r--r-- | lisp/org/org.el | 2 | ||||
-rw-r--r-- | lisp/org/ox-md.el | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lisp/org/ob-clojure.el b/lisp/org/ob-clojure.el index 6f1425a842b..b424cf48ff9 100644 --- a/lisp/org/ob-clojure.el +++ b/lisp/org/ob-clojure.el @@ -101,13 +101,13 @@ (defcustom ob-clojure-babashka-command (executable-find "bb") "Path to the babashka executable." - :type 'file + :type '(choice file (const nil)) :group 'org-babel :package-version '(Org . "9.6")) (defcustom ob-clojure-nbb-command (executable-find "nbb") "Path to the nbb executable." - :type 'file + :type '(choice file (const nil)) :group 'org-babel :package-version '(Org . "9.6")) diff --git a/lisp/org/org.el b/lisp/org/org.el index be922a5da0f..ab6212daccd 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el @@ -1408,7 +1408,7 @@ URI regexps are applied to both URLs and Org files requesting remote resources." :group 'org :package-version '(Org . "9.6") - :type '(list regexp)) + :type '(repeat regexp)) (defcustom org-open-non-existing-files nil "Non-nil means `org-open-file' opens non-existing files. diff --git a/lisp/org/ox-md.el b/lisp/org/ox-md.el index dee6dbf1fc3..01e0aa0491b 100644 --- a/lisp/org/ox-md.el +++ b/lisp/org/ox-md.el @@ -87,7 +87,7 @@ included into another document or application that reserves top-level headings for its own use." :group 'org-export-md :package-version '(Org . "9.6") - :type 'string) + :type 'natnum) |