aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Pluim2019-10-09 15:28:47 +0200
committerRobert Pluim2019-10-11 14:17:08 +0200
commitde063da61beb076190104fa21ec69a3479d59647 (patch)
treecddc4a537327dd1135d3c1a563928d2d6610ac3b
parentb259bf63c77a01f3035813b3485fbd9ad7ae02a0 (diff)
downloademacs-de063da61beb076190104fa21ec69a3479d59647.tar.gz
emacs-de063da61beb076190104fa21ec69a3479d59647.zip
Correct some more custom type specs
* lisp/winner.el (winner-boring-buffers-regexp): * lisp/progmodes/js.el (js-jsx-indent-level): * lisp/image-dired.el (image-dired-external-viewer): * lisp/gnus/nnir.el (nnir-notmuch-filter-group-names-function): Correct custom type specification. * lisp/textmodes/bibtex.el (bibtex-string-file-path): (bibtex-file-path): Correct custom type specification and document source of initial value.
-rw-r--r--lisp/gnus/nnir.el2
-rw-r--r--lisp/image-dired.el4
-rw-r--r--lisp/progmodes/js.el3
-rw-r--r--lisp/textmodes/bibtex.el14
-rw-r--r--lisp/winner.el3
5 files changed, 18 insertions, 8 deletions
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 1041373a05f..7cb2d1615a2 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -535,7 +535,7 @@ like so:
535 (lambda (g) (replace-regexp-in-string \"\\\\.\" \"/\" g)))" 535 (lambda (g) (replace-regexp-in-string \"\\\\.\" \"/\" g)))"
536 :version "27.1" 536 :version "27.1"
537 :type '(choice function 537 :type '(choice function
538 nil)) 538 (const :tag "No" nil)))
539 539
540;;; Developer Extension Variable: 540;;; Developer Extension Variable:
541 541
diff --git a/lisp/image-dired.el b/lisp/image-dired.el
index c1c767ba783..85bc9247949 100644
--- a/lisp/image-dired.el
+++ b/lisp/image-dired.el
@@ -538,7 +538,9 @@ with the comment."
538 "Name of external viewer. 538 "Name of external viewer.
539Including parameters. Used when displaying original image from 539Including parameters. Used when displaying original image from
540`image-dired-thumbnail-mode'." 540`image-dired-thumbnail-mode'."
541 :type 'string 541 :version "27.1"
542 :type '(choice string
543 (const :tag "Not Set" nil))
542 :group 'image-dired) 544 :group 'image-dired)
543 545
544(defcustom image-dired-main-image-directory "~/pics/" 546(defcustom image-dired-main-image-directory "~/pics/"
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 3050e8f1a76..8d457a28ec2 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -650,7 +650,8 @@ indentation looks like this (different):
650 </element> 650 </element>
651 )" 651 )"
652 :version "27.1" 652 :version "27.1"
653 :type 'integer 653 :type '(choice integer
654 (const :tag "Not Set" nil))
654 :safe (lambda (x) (or (null x) (integerp x))) 655 :safe (lambda (x) (or (null x) (integerp x)))
655 :group 'js) 656 :group 'js)
656;; This is how indentation behaved out-of-the-box until Emacs 27. JSX 657;; This is how indentation behaved out-of-the-box until Emacs 27. JSX
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 7e99032084e..c29e9631801 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -933,9 +933,12 @@ to the directories specified in `bibtex-string-file-path'."
933 :type '(repeat file)) 933 :type '(repeat file))
934 934
935(defcustom bibtex-string-file-path (getenv "BIBINPUTS") 935(defcustom bibtex-string-file-path (getenv "BIBINPUTS")
936 "Colon-separated list of paths to search for `bibtex-string-files'." 936 "Colon-separated list of paths to search for `bibtex-string-files'.
937Initialized from the BIBINPUTS environment variable."
937 :group 'bibtex 938 :group 'bibtex
938 :type 'string) 939 :version "27.1"
940 :type '(choice string
941 (const :tag "Not Set" nil)))
939 942
940(defcustom bibtex-files nil 943(defcustom bibtex-files nil
941 "List of BibTeX files that are searched for entry keys. 944 "List of BibTeX files that are searched for entry keys.
@@ -949,9 +952,12 @@ See also `bibtex-search-entry-globally'."
949 directory file))) 952 directory file)))
950 953
951(defcustom bibtex-file-path (getenv "BIBINPUTS") 954(defcustom bibtex-file-path (getenv "BIBINPUTS")
952 "Colon separated list of paths to search for `bibtex-files'." 955 "Colon separated list of paths to search for `bibtex-files'.
956Initialized from the BIBINPUTS environment variable."
953 :group 'bibtex 957 :group 'bibtex
954 :type 'string) 958 :version "27.1"
959 :type '(choice string
960 (const :tag "Not Set" nil)))
955 961
956(defcustom bibtex-search-entry-globally nil 962(defcustom bibtex-search-entry-globally nil
957 "If non-nil, interactive calls of `bibtex-search-entry' search globally. 963 "If non-nil, interactive calls of `bibtex-search-entry' search globally.
diff --git a/lisp/winner.el b/lisp/winner.el
index dc8bde5331f..a97bfbde9db 100644
--- a/lisp/winner.el
+++ b/lisp/winner.el
@@ -61,7 +61,8 @@ You may want to include buffer names such as *Help*, *Apropos*,
61 61
62(defcustom winner-boring-buffers-regexp nil 62(defcustom winner-boring-buffers-regexp nil
63 "`winner-undo' will not restore windows with buffers matching this regexp." 63 "`winner-undo' will not restore windows with buffers matching this regexp."
64 :type 'string 64 :type '(choice (regexp :tag "Regexp")
65 (const :tag "Not Set" nil))
65 :version "27.1") 66 :version "27.1")
66 67
67 68