This allows you to stop `save-some-buffers' from asking
about certain files that you'd usually rather not save."
:group 'auto-save
- :type 'function
+ ;; FIXME nil should not be a valid option, let alone the default,
+ ;; eg so that add-function can be used.
+ :type '(choice (const :tag "Default" nil) function)
:version "26.1")
(defun save-some-buffers (&optional arg pred)
"If non-nil, show the cursor in the Article buffer even when not selected."
:version "25.1"
:group 'gnus-article
- :type 'bool)
+ :type 'boolean)
(defcustom gnus-saved-headers gnus-visible-headers
"Headers to keep if `gnus-save-all-headers' is nil.
(defcustom newsticker-url-list-defaults
'(("Emacs Wiki"
- "http://www.emacswiki.org/cgi-bin/wiki.pl?action=rss"
+ "https://www.emacswiki.org/emacs?action=rss"
nil
3600))
"A customizable list of news feeds to select from.
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)
+ :type '(repeat :tag "List of names (possibly empty)" string)
:group 'c)
(put 'c-noise-macro-with-parens-names 'safe-local-variable #'c-string-list-p)
:version "24.1" ; rev670
:group 'verilog-mode-actions
:type 'boolean)
-(put 'verilog-auto-declare-nettype 'safe-local-variable `stringp)
+(put 'verilog-auto-declare-nettype 'safe-local-variable 'stringp)
(defcustom verilog-auto-wire-comment t
"Non-nil indicates to insert to/from comments with `verilog-auto-wire' etc."
:version "25.1"
:group 'verilog-mode-actions
:type 'boolean)
-(put 'verilog-auto-wire-comment 'safe-local-variable `verilog-booleanp)
+(put 'verilog-auto-wire-comment 'safe-local-variable 'verilog-booleanp)
(defcustom verilog-auto-wire-type nil
"Non-nil specifies the data type to use with `verilog-auto-wire' etc.
containing SystemVerilog cells."
:version "24.1" ; rev673
:group 'verilog-mode-actions
- :type 'string)
-(put 'verilog-auto-wire-type 'safe-local-variable `stringp)
+ :type '(choice (const nil) string))
+(put 'verilog-auto-wire-type 'safe-local-variable 'stringp)
(defcustom verilog-auto-endcomments t
"Non-nil means insert a comment /* ... */ after `end's.
This path is expanded relative to the directory of the Less file
using `expand-file-name', so both relative and absolute paths
will work as expected."
- :type 'directory)
+ :type '(choice (const :tag "Same as Less file" nil) directory))
;;;###autoload
(put 'less-css-output-directory 'safe-local-variable 'stringp)
the path is relative, it will be relative to the value of
`less-css-output-dir', if set, or the current directory by
default."
- :type 'file)
+ :type '(choice (const :tag "Default" nil) file))
(make-variable-buffer-local 'less-css-output-file-name)
(defcustom less-css-input-file-name nil
This can be also be set to a full path, or a relative path. If
the path is relative, it will be relative to the current
directory by default."
- :type 'file)
+ :type '(choice (const nil) file))
;;;###autoload
(put 'less-css-input-file-name 'safe-local-variable 'stringp)
(make-variable-buffer-local 'less-css-input-file-name)
`legacy-style-world-list' otherwise."
:group 'display-time
- :type '(repeat (list string string))
+ :type '(choice (const :tag "Default" t)
+ (repeat :tag "List of zones and labels"
+ (list (string :tag "Zone") (string :tag "Label"))))
:version "23.1")
(defun time--display-world-list ()
(setq limit (1+ (match-end 0)))))
s)
-;; Metacharacters that have to be protected from the shell when executing
-;; a diff/diff3 command.
(defcustom emerge-metachars nil
- "Obsolete, emerge now uses `shell-quote-argument'."
- :type 'regexp
+ "No longer used. Emerge now uses `shell-quote-argument'."
+ :type '(choice (const nil) regexp)
:group 'emerge)
(make-obsolete-variable 'emerge-metachars nil "26.1")
If no list entry produces a useful revision, return `nil'."
:type '(repeat (choice
- (const :tag "Active bookmark" 'bookmark)
+ (const :tag "Active bookmark" builtin-active-bookmark)
(string :tag "Hg template")
(function :tag "Custom")))
:version "26.1"