From 52d2a690f66de135fbfbcf5a195014e24be64170 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 12 Dec 2017 23:21:24 -0800 Subject: [PATCH] Add missing :version tags revealed by cusver-check * lisp/comint.el (comint-move-point-for-matching-input): * lisp/epa.el (epa-replace-original-text): * lisp/image-dired.el (image-dired-cmd-optipng-program) (image-dired-cmd-optipng-options): * lisp/emacs-lisp/bytecomp.el (byte-compile-cond-use-jump-table): * lisp/gnus/gnus-cloud.el (gnus-cloud-storage-method) (gnus-cloud-interactive): * lisp/net/mailcap.el (mailcap-user-mime-data): * lisp/progmodes/cc-vars.el (c-asymmetry-fontification-flag) (c-noise-macro-names, c-noise-macro-with-parens-names): * lisp/progmodes/flymake.el (flymake-start-on-flymake-mode) (flymake-wrap-around): * lisp/progmodes/grep.el (grep-use-null-filename-separator): * lisp/progmodes/js.el (js-indent-align-list-continuation): * lisp/progmodes/perl-mode.el (perl-flymake-command): * lisp/progmodes/python.el (python-flymake-command) (python-flymake-command-output-pattern, python-flymake-msg-alist): * lisp/progmodes/ruby-mode.el (ruby-flymake-use-rubocop-if-available) (ruby-rubocop-config): * lisp/textmodes/less-css-mode.el (less-css): * lisp/textmodes/tex-mode.el (tex-chktex-program) (tex-chktex-extra-flags): Add missing :version tags. --- lisp/comint.el | 1 + lisp/emacs-lisp/bytecomp.el | 1 + lisp/epa.el | 1 + lisp/gnus/gnus-cloud.el | 2 ++ lisp/image-dired.el | 2 ++ lisp/net/mailcap.el | 1 + lisp/progmodes/cc-vars.el | 3 +++ lisp/progmodes/flymake.el | 2 ++ lisp/progmodes/grep.el | 1 + lisp/progmodes/js.el | 1 + lisp/progmodes/perl-mode.el | 1 + lisp/progmodes/python.el | 3 +++ lisp/progmodes/ruby-mode.el | 2 ++ lisp/textmodes/less-css-mode.el | 1 + lisp/textmodes/tex-mode.el | 2 ++ 15 files changed, 24 insertions(+) diff --git a/lisp/comint.el b/lisp/comint.el index aa7dab28f32..dcf1ff794f9 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -290,6 +290,7 @@ If `after-input', point will be positioned after the input typed by the user, but before the rest of the history entry that has been inserted. If `end-of-line', point will be positioned at the end of the current logical (not visual) line after insertion." + :version "26.1" :type '(radio (const :tag "Stay after input" after-input) (const :tag "Move to end of line" end-of-line)) :group 'comint) diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f69ac7f342a..d62d8128c11 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -236,6 +236,7 @@ This includes variable references and calls to functions such as `car'." (defcustom byte-compile-cond-use-jump-table t "Compile `cond' clauses to a jump table implementation (using a hash-table)." + :version "26.1" :group 'bytecomp :type 'boolean) diff --git a/lisp/epa.el b/lisp/epa.el index 6e908e1aa3b..da5a894d804 100644 --- a/lisp/epa.el +++ b/lisp/epa.el @@ -40,6 +40,7 @@ If t, replace the original text without any confirmation. If nil, don't replace the original text and show the result in a new buffer. If neither t nor nil, ask user for confirmation." + :version "26.1" :type '(choice (const :tag "Never" nil) (const :tag "Ask the user" ask) (const :tag "Always" t)) diff --git a/lisp/gnus/gnus-cloud.el b/lisp/gnus/gnus-cloud.el index 5ea2d691f15..34d54ec3cae 100644 --- a/lisp/gnus/gnus-cloud.el +++ b/lisp/gnus/gnus-cloud.el @@ -51,6 +51,7 @@ (defcustom gnus-cloud-storage-method (if (featurep 'epg) 'epg 'base64-gzip) "Storage method for cloud data, defaults to EPG if that's available." + :version "26.1" :group 'gnus-cloud :type '(radio (const :tag "No encoding" nil) (const :tag "Base64" base64) @@ -59,6 +60,7 @@ (defcustom gnus-cloud-interactive t "Whether Gnus Cloud changes should be confirmed." + :version "26.1" :group 'gnus-cloud :type 'boolean) diff --git a/lisp/image-dired.el b/lisp/image-dired.el index 175d9df5e8c..e8046af3c0b 100644 --- a/lisp/image-dired.el +++ b/lisp/image-dired.el @@ -305,6 +305,7 @@ temporary file name (typically generated by pnqnq)" (defcustom image-dired-cmd-optipng-program (executable-find "optipng") "The file name of the `optipng' program." + :version "26.1" :type '(choice (const :tag "Not Set" nil) file) :group 'image-dired) @@ -312,6 +313,7 @@ temporary file name (typically generated by pnqnq)" "Arguments passed to `image-dired-optipng-program'. Available format specifiers are described in `image-dired-cmd-create-thumbnail-options'." + :version "26.1" :type '(repeat (string :tag "Argument")) :link '(url-link "man:optipng(1)") :group 'image-dired) diff --git a/lisp/net/mailcap.el b/lisp/net/mailcap.el index b4b38707c89..be1a171cd48 100644 --- a/lisp/net/mailcap.el +++ b/lisp/net/mailcap.el @@ -99,6 +99,7 @@ When selecting a viewer for a given MIME type, the first viewer in this list with a matching MIME-TYPE and successful TEST is selected. Only if none matches, the standard `mailcap-mime-data' is consulted." + :version "26.1" :type '(repeat (list (choice (function :tag "Function or mode") diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index 51caef2fc30..37d6675821e 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el @@ -1643,6 +1643,7 @@ particularly in C++, due to ambiguities in the language. When such a construct is like \"foo * bar\" or \"foo &bar\", and this variable is non-nil \(the default), the construct will be fontified as a declaration if there is white space either before or after the operator, but not both." + :version "26.1" :type 'boolean :group 'c) @@ -1658,6 +1659,7 @@ identifiers. If you change this variable's value, call the function `c-make-noise-macro-regexps' to set the necessary internal variables (or do this implicitly by reinitializing C/C++/Objc Mode on any buffer)." + :version "26.1" :type '(repeat :tag "List of names" string) :group 'c) (put 'c-noise-macro-names 'safe-local-variable #'c-string-list-p) @@ -1666,6 +1668,7 @@ this implicitly by reinitializing C/C++/Objc Mode on any buffer)." "A list of names of macros \(or compiler extensions like \"__attribute__\") which optionally have arguments in parentheses, and which expand to nothing. These are recognized by CC Mode only in declarations." + :version "26.1" :type '(regexp :tag "List of names (possibly empty)" string) :group 'c) (put 'c-noise-macro-with-parens-names 'safe-local-variable #'c-string-list-p) diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index c6345aa9680..66d1497b406 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el @@ -127,6 +127,7 @@ If nil, never start checking buffer automatically like this." (defcustom flymake-start-on-flymake-mode t "Start syntax check when `flymake-mode' is enabled. Specifically, start it when the buffer is actually displayed." + :version "26.1" :type 'boolean) (define-obsolete-variable-alias 'flymake-start-syntax-check-on-find-file @@ -141,6 +142,7 @@ Specifically, start it when the buffer is actually displayed." (defcustom flymake-wrap-around t "If non-nil, moving to errors wraps around buffer boundaries." + :version "26.1" :type 'boolean) (when (fboundp 'define-fringe-bitmap) diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index c2d80223541..dac3726bb14 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -162,6 +162,7 @@ Customize or call the function `grep-apply-setting'." (defcustom grep-use-null-filename-separator 'auto-detect "If non-nil, use `grep's `--null' option. This is done to disambiguate file names in `grep's output." + :version "26.1" :type '(choice (const :tag "Do Not Use `--null'" nil) (const :tag "Use `--null'" t) (other :tag "Not Set" auto-detect)) diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 1f86909362e..5cdabd03beb 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -477,6 +477,7 @@ This applies to function movement, marking, and so on." (defcustom js-indent-align-list-continuation t "Align continuation of non-empty ([{ lines in `js-mode'." + :version "26.1" :type 'boolean :group 'js) diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index f3cb8109133..fecdb720f58 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -587,6 +587,7 @@ create a new comment." This is a non empty list of strings, the checker tool possibly followed by required arguments. Once launched it will receive the Perl source to be checked as its standard input." + :version "26.1" :group 'perl :type '(repeat string)) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 9d3e428e23c..2de40c4ab88 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -5165,6 +5165,7 @@ This is a non empty list of strings, the checker tool possibly followed by required arguments. Once launched it will receive the Python source to be checked as its standard input. To use `flake8' you would set this to (\"flake8\" \"-\")." + :version "26.1" :group 'python-flymake :type '(repeat string)) @@ -5186,6 +5187,7 @@ MESSAGE'th gives the message text itself. If COLUMN or TYPE are nil or that index didn't match, that information is not present on the matched line and a default will be used." + :version "26.1" :group 'python-flymake :type '(list regexp (integer :tag "Line's index") @@ -5209,6 +5211,7 @@ For example, when using `flake8' a possible configuration could be: (\"^[EW][0-9]+\" . :note)) By default messages are considered errors." + :version "26.1" :group 'python-flymake :type `(alist :key-type (regexp) :value-type (symbol))) diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index dc1b0f8e2da..1c7df7e35a2 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -2314,12 +2314,14 @@ See `font-lock-syntax-table'.") (defcustom ruby-flymake-use-rubocop-if-available t "Non-nil to use the Rubocop Flymake backend. Only takes effect if Rubocop is installed." + :version "26.1" :type 'boolean :group 'ruby :safe 'booleanp) (defcustom ruby-rubocop-config ".rubocop.yml" "Configuration file for `ruby-flymake-rubocop'." + :version "26.1" :type 'string :group 'ruby :safe 'stringp) diff --git a/lisp/textmodes/less-css-mode.el b/lisp/textmodes/less-css-mode.el index d31414e3a4b..387d1c2fd57 100644 --- a/lisp/textmodes/less-css-mode.el +++ b/lisp/textmodes/less-css-mode.el @@ -78,6 +78,7 @@ (defgroup less-css nil "Less CSS mode." + :version "26.1" :prefix "less-css-" :group 'css) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 5c585ea46ca..f228e28b740 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -266,12 +266,14 @@ measured relative to that of the normal text." (defcustom tex-chktex-program "chktex" "ChkTeX executable to use for linting TeX files." + :version "26.1" :type 'string :link '(url-link "man:chktex(1)") :group 'tex-flymake) (defcustom tex-chktex-extra-flags nil "Extra command line flags for `tex-chktex-program'." + :version "26.1" :type '(repeat string) :group 'tex-flymake) -- 2.39.2