diff options
| author | Lars Ingebrigtsen | 2020-09-25 15:15:21 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2020-09-25 15:15:21 +0200 |
| commit | e1c33e29d58175e159443babd96f230eb0bb4a88 (patch) | |
| tree | 77b880347d15bce35f2ac28c13e42abb8530b2d1 | |
| parent | 664927b5257fdaf26f24063edb1f41c407805ed8 (diff) | |
| download | emacs-e1c33e29d58175e159443babd96f230eb0bb4a88.tar.gz emacs-e1c33e29d58175e159443babd96f230eb0bb4a88.zip | |
Fix some defcustom types
* lisp/whitespace.el (whitespace-style):
* lisp/gnus/message.el (message-screenshot-command):
* lisp/progmodes/compile.el (compilation-transform-file-match-alist):
* lisp/progmodes/gdb-mi.el (gdb-default-window-configuration-file):
* lisp/progmodes/python.el (python-pdbtrack-exit-command): Fix the
defcustom types.
* lisp/progmodes/sql.el (sql-password-wallet): Fix the value.
| -rw-r--r-- | lisp/erc/erc-status-sidebar.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 1 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnselect.el | 3 | ||||
| -rw-r--r-- | lisp/net/tramp-crypt.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/gdb-mi.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/sql.el | 4 | ||||
| -rw-r--r-- | lisp/whitespace.el | 2 |
10 files changed, 17 insertions, 10 deletions
diff --git a/lisp/erc/erc-status-sidebar.el b/lisp/erc/erc-status-sidebar.el index ab9883665d7..08dc8d6015f 100644 --- a/lisp/erc/erc-status-sidebar.el +++ b/lisp/erc/erc-status-sidebar.el | |||
| @@ -68,7 +68,8 @@ | |||
| 68 | 68 | ||
| 69 | (defcustom erc-status-sidebar-header-line-format nil | 69 | (defcustom erc-status-sidebar-header-line-format nil |
| 70 | "Header line format for the status sidebar." | 70 | "Header line format for the status sidebar." |
| 71 | :type 'string | 71 | :type '(choice (const :tag "No header line" nil) |
| 72 | string) | ||
| 72 | :group 'erc-status-sidebar) | 73 | :group 'erc-status-sidebar) |
| 73 | 74 | ||
| 74 | (defcustom erc-status-sidebar-width 15 | 75 | (defcustom erc-status-sidebar-width 15 |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 4484b95075c..b1147924ffa 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -274,6 +274,7 @@ This can also be a list of the above values." | |||
| 274 | If it is a string, the command will be executed in a sub-shell | 274 | If it is a string, the command will be executed in a sub-shell |
| 275 | asynchronously. The compressed face will be piped to this command." | 275 | asynchronously. The compressed face will be piped to this command." |
| 276 | :type '(choice string | 276 | :type '(choice string |
| 277 | (const :tag "None" nil) | ||
| 277 | (function-item gnus-display-x-face-in-from) | 278 | (function-item gnus-display-x-face-in-from) |
| 278 | function) | 279 | function) |
| 279 | :version "27.1" | 280 | :version "27.1" |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 16f47c8d4c1..2ad479b59df 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -307,7 +307,7 @@ any confusion." | |||
| 307 | "Command to take a screenshot. | 307 | "Command to take a screenshot. |
| 308 | The command should insert a PNG in the current buffer." | 308 | The command should insert a PNG in the current buffer." |
| 309 | :group 'message-various | 309 | :group 'message-various |
| 310 | :type '(list string) | 310 | :type '(repeat string) |
| 311 | :version "28.1") | 311 | :version "28.1") |
| 312 | 312 | ||
| 313 | ;;; Start of variables adopted from `message-utils.el'. | 313 | ;;; Start of variables adopted from `message-utils.el'. |
diff --git a/lisp/gnus/nnselect.el b/lisp/gnus/nnselect.el index 8cd658100fb..21206b683cf 100644 --- a/lisp/gnus/nnselect.el +++ b/lisp/gnus/nnselect.el | |||
| @@ -257,7 +257,8 @@ Returns either the retrieved header format 'nov or 'headers. | |||
| 257 | 257 | ||
| 258 | If this variable is nil, or if the provided function returns nil, | 258 | If this variable is nil, or if the provided function returns nil, |
| 259 | `gnus-retrieve-headers' will be called instead." | 259 | `gnus-retrieve-headers' will be called instead." |
| 260 | :version "28.1" :type '(function) :group 'nnselect) | 260 | :version "28.1" |
| 261 | :type '(repeat function)) | ||
| 261 | 262 | ||
| 262 | ;; Gnus backend interface functions. | 263 | ;; Gnus backend interface functions. |
| 263 | 264 | ||
diff --git a/lisp/net/tramp-crypt.el b/lisp/net/tramp-crypt.el index c9788fcff52..3e96daa7b1f 100644 --- a/lisp/net/tramp-crypt.el +++ b/lisp/net/tramp-crypt.el | |||
| @@ -120,7 +120,7 @@ initializing a new crypted remote directory." | |||
| 120 | "Whether to keep the encfs configuration file in the crypted remote directory." | 120 | "Whether to keep the encfs configuration file in the crypted remote directory." |
| 121 | :group 'tramp | 121 | :group 'tramp |
| 122 | :version "28.1" | 122 | :version "28.1" |
| 123 | :type 'booleanp) | 123 | :type 'boolean) |
| 124 | 124 | ||
| 125 | ;;;###tramp-autoload | 125 | ;;;###tramp-autoload |
| 126 | (defvar tramp-crypt-directories nil | 126 | (defvar tramp-crypt-directories nil |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 06bdd1e98da..a408d16e37c 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -64,7 +64,8 @@ If nil, use Emacs default." | |||
| 64 | If the replacement is nil, the file will not be considered an | 64 | If the replacement is nil, the file will not be considered an |
| 65 | error after all. If not nil, it should be a regexp replacement | 65 | error after all. If not nil, it should be a regexp replacement |
| 66 | string." | 66 | string." |
| 67 | :type '(repeat (list regexp string)) | 67 | :type '(repeat (list regexp (choice (const :tag "No replacement" nil) |
| 68 | string))) | ||
| 68 | :version "27.1") | 69 | :version "27.1") |
| 69 | 70 | ||
| 70 | (defvar compilation-filter-hook nil | 71 | (defvar compilation-filter-hook nil |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 8d6f8af2322..c71574ec3c6 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -643,7 +643,8 @@ and looks under `gdb-window-configuration-directory'. | |||
| 643 | 643 | ||
| 644 | Note that this variable only takes effect when variable | 644 | Note that this variable only takes effect when variable |
| 645 | `gdb-many-windows' is t." | 645 | `gdb-many-windows' is t." |
| 646 | :type 'string | 646 | :type '(choice (const :tag "None" nil) |
| 647 | string) | ||
| 647 | :group 'gdb | 648 | :group 'gdb |
| 648 | :version "28.1") | 649 | :version "28.1") |
| 649 | 650 | ||
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7c3b611cd9f..68081b80aa9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -3796,7 +3796,7 @@ was `continue'. This behavior slightly differentiates the `continue' command | |||
| 3796 | from the `exit' command listed in `python-pdbtrack-exit-command'. | 3796 | from the `exit' command listed in `python-pdbtrack-exit-command'. |
| 3797 | 3797 | ||
| 3798 | See `python-pdbtrack-activate' for pdbtracking session overview." | 3798 | See `python-pdbtrack-activate' for pdbtracking session overview." |
| 3799 | :type 'list | 3799 | :type '(repeat string) |
| 3800 | :version "27.1") | 3800 | :version "27.1") |
| 3801 | 3801 | ||
| 3802 | (defcustom python-pdbtrack-exit-command '("q" "quit" "exit") | 3802 | (defcustom python-pdbtrack-exit-command '("q" "quit" "exit") |
| @@ -3805,7 +3805,7 @@ After one of this commands is sent to pdb, pdbtracking session is | |||
| 3805 | considered over. | 3805 | considered over. |
| 3806 | 3806 | ||
| 3807 | See `python-pdbtrack-activate' for pdbtracking session overview." | 3807 | See `python-pdbtrack-activate' for pdbtracking session overview." |
| 3808 | :type 'list | 3808 | :type '(repeast string) |
| 3809 | :version "27.1") | 3809 | :version "27.1") |
| 3810 | 3810 | ||
| 3811 | (defcustom python-pdbtrack-kill-buffers t | 3811 | (defcustom python-pdbtrack-kill-buffers t |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index e554b2b8b0b..814a1ad8a3a 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -838,11 +838,11 @@ host key." | |||
| 838 | (setq w (locate-user-emacs-file (concat "sql-wallet" ext) | 838 | (setq w (locate-user-emacs-file (concat "sql-wallet" ext) |
| 839 | (concat ".sql-wallet" ext))) | 839 | (concat ".sql-wallet" ext))) |
| 840 | (when (file-exists-p w) | 840 | (when (file-exists-p w) |
| 841 | (setq wallet w))))) | 841 | (setq wallet (list w)))))) |
| 842 | "Identification of the password wallet. | 842 | "Identification of the password wallet. |
| 843 | See `sql-password-search-wallet-function' to understand how this value | 843 | See `sql-password-search-wallet-function' to understand how this value |
| 844 | is used to locate the password wallet." | 844 | is used to locate the password wallet." |
| 845 | :type `(plist-get (symbol-plist 'auth-sources) 'custom-type) | 845 | :type (plist-get (symbol-plist 'auth-sources) 'custom-type) |
| 846 | :version "27.1") | 846 | :version "27.1") |
| 847 | 847 | ||
| 848 | (defvar sql-password-search-wallet-function #'sql-auth-source-search-wallet | 848 | (defvar sql-password-search-wallet-function #'sql-auth-source-search-wallet |
diff --git a/lisp/whitespace.el b/lisp/whitespace.el index 8a1bb8ade87..83551053033 100644 --- a/lisp/whitespace.el +++ b/lisp/whitespace.el | |||
| @@ -445,6 +445,8 @@ See also `whitespace-display-mappings' for documentation." | |||
| 445 | (const :tag "(Face) Lines" lines) | 445 | (const :tag "(Face) Lines" lines) |
| 446 | (const :tag "(Face) Lines, only overlong part" lines-tail) | 446 | (const :tag "(Face) Lines, only overlong part" lines-tail) |
| 447 | (const :tag "(Face) NEWLINEs" newline) | 447 | (const :tag "(Face) NEWLINEs" newline) |
| 448 | (const :tag "(Face) Missing newlines at EOB" | ||
| 449 | missing-newline-at-eof) | ||
| 448 | (const :tag "(Face) Empty Lines At BOB And/Or EOB" empty) | 450 | (const :tag "(Face) Empty Lines At BOB And/Or EOB" empty) |
| 449 | (const :tag "(Face) Indentation SPACEs" indentation::tab) | 451 | (const :tag "(Face) Indentation SPACEs" indentation::tab) |
| 450 | (const :tag "(Face) Indentation TABs" | 452 | (const :tag "(Face) Indentation TABs" |