Commit f5307782 authored by Juanma Barranquero's avatar Juanma Barranquero

Specify missing group (and type, if simple) in defcustom.

parent 93c8c9cd
......@@ -105,15 +105,21 @@ at runtime."
"*Use digit grouping in radix output mode.
If this is set, chunks of `calculator-radix-grouping-digits' characters
will be separated by `calculator-radix-grouping-separator' when in radix
output mode is active (determined by `calculator-output-radix').")
output mode is active (determined by `calculator-output-radix')."
:type 'boolean
:group 'calculator)
(defcustom calculator-radix-grouping-digits 4
"*The number of digits used for grouping display in radix modes.
See `calculator-radix-grouping-mode'.")
See `calculator-radix-grouping-mode'."
:type 'integer
:group 'calculator)
(defcustom calculator-radix-grouping-separator "'"
"*The separator used in radix grouping display.
See `calculator-radix-grouping-mode'.")
See `calculator-radix-grouping-mode'."
:type 'string
:group 'calculator)
(defcustom calculator-remove-zeros t
"*Non-nil value means delete all redundant zero decimal digits.
......@@ -140,7 +146,8 @@ of digits displayed).
An exception to the above is the case of the list (std C) where C is a
character, in this case the `calculator-standard-displayer' function
will be used with this character for a format string.")
will be used with this character for a format string."
:group 'calculator)
(defcustom calculator-displayers
'(((std ?n) "Standard display, decimal point or scientific")
......@@ -169,7 +176,9 @@ floats, otherwise the Emacs reader will fail on them."
"*If non-nil, this is any value that can be used for
`calculator-displayer', to format a string before copying it with
`calculator-copy'. If nil, then `calculator-displayer's normal value is
used.")
used."
:type 'boolean
:group 'calculator)
(defcustom calculator-2s-complement nil
"*If non-nil, show negative numbers in 2s complement in radix modes.
......
......@@ -282,7 +282,8 @@ A mode setting this variable should make it buffer local."
"If non-nil, a list of buffers which dabbrev should search.
If this variable is non-nil, dabbrev will only look in these buffers.
It will not even look in the current buffer if it is not a member of
this list.")
this list."
:group 'dabbrev)
;;----------------------------------------------------------------
;; Internal variables
......
......@@ -70,7 +70,8 @@
(defcustom diff-jump-to-old-file nil
"*Non-nil means `diff-goto-source' jumps to the old file.
Else, it jumps to the new file."
:type '(boolean))
:type 'boolean
:group 'diff-mode)
(defcustom diff-update-on-the-fly t
"*Non-nil means hunk headers are kept up-to-date on-the-fly.
......@@ -79,17 +80,20 @@ need to be kept consistent with the actual diff. This can
either be done on the fly (but this sometimes interacts poorly with the
undo mechanism) or whenever the file is written (can be slow
when editing big diffs)."
:type '(boolean))
:type 'boolean
:group 'diff-mode)
(defcustom diff-advance-after-apply-hunk t
"*Non-nil means `diff-apply-hunk' will move to the next hunk after applying."
:type 'boolean)
:type 'boolean
:group 'diff-mode)
(defcustom diff-mode-hook nil
"Run after setting up the `diff-mode' major mode."
:type 'hook
:options '(diff-delete-empty-files diff-make-unified))
:options '(diff-delete-empty-files diff-make-unified)
:group 'diff-mode)
(defvar diff-outline-regexp
"\\([*+][*+][*+] [^0-9]\\|@@ ...\\|\\*\\*\\* [0-9].\\|--- [0-9]..\\)")
......@@ -159,7 +163,8 @@ when editing big diffs)."
(defcustom diff-minor-mode-prefix "\C-c="
"Prefix key for `diff-minor-mode' commands."
:type '(choice (string "\e") (string "C-c=") string))
:type '(choice (string "\e") (string "C-c=") string)
:group 'diff-mode)
(easy-mmode-defmap diff-minor-mode-map
`((,diff-minor-mode-prefix . ,diff-mode-shared-map))
......
......@@ -147,7 +147,8 @@ call to one of the `testcover-1value-functions'."
(defcustom testcover-potentially-1value-functions
'(add-hook and beep or remove-hook unless when)
"Functions that are potentially 1-valued. No brown splotch if actually
1-valued, no error if actually multi-valued.")
1-valued, no error if actually multi-valued."
:group 'testcover)
(defface testcover-nohits-face
'((t (:background "DeepPink2")))
......
......@@ -119,7 +119,8 @@ If t, always use a popup menu,
If `on-mouse' use a popup menu when `imenu' was invoked with the mouse."
:type '(choice (const :tag "On Mouse" on-mouse)
(const :tag "Never" nil)
(other :tag "Always" t)))
(other :tag "Always" t))
:group 'imenu)
(defcustom imenu-eager-completion-buffer
(not (eq imenu-always-use-completion-buffer-p 'never))
......
......@@ -137,8 +137,9 @@ The value of this variable is used when JIT Lock mode is turned on."
(defcustom jit-lock-context-time 0.5
"Idle time after which text is contextually refontified, if applicable."
:type '(number :tag "seconds"))
:type '(number :tag "seconds")
:group 'jit-lock)
(defcustom jit-lock-defer-time nil ;; 0.25
"Idle time after which deferred fontification should take place.
If nil, fontification is not deferred."
......
......@@ -90,7 +90,8 @@ Major modes should set this variable.")
(defcustom comment-fill-column nil
"Column to use for `comment-indent'. If nil, use `fill-column' instead."
:type '(choice (const nil) integer))
:type '(choice (const nil) integer)
:group 'comment)
;;;###autoload
(defcustom comment-column 32
......@@ -99,7 +100,8 @@ Each mode establishes a different default value for this variable; you
can set the value for a particular mode using that mode's hook.
Comments might be indented to a value smaller than this in order
not to go beyond `comment-fill-column'."
:type 'integer)
:type 'integer
:group 'comment)
(make-variable-buffer-local 'comment-column)
;;;###autoload
......@@ -201,7 +203,8 @@ INDENT specifies that the `comment-start' markers should not be put at the
See `comment-styles' for a list of available styles."
:type (if (boundp 'comment-styles)
`(choice ,@(mapcar (lambda (s) `(const ,(car s))) comment-styles))
'symbol))
'symbol)
:group 'comment)
;;;###autoload
(defcustom comment-padding " "
......@@ -211,7 +214,8 @@ of the corresponding number of spaces.
Extra spacing between the comment characters and the comment text
makes the comment easier to read. Default is 1. nil means 0."
:type '(choice string integer (const nil)))
:type '(choice string integer (const nil))
:group 'comment)
;;;###autoload
(defcustom comment-multi-line nil
......@@ -222,7 +226,8 @@ customize this variable.
It also affects \\[indent-new-comment-line]. However, if you want this
behavior for explicit filling, you might as well use \\[newline-and-indent]."
:type 'boolean)
:type 'boolean
:group 'comment)
(defcustom comment-empty-lines nil
"If nil, `comment-region' does not comment out empty lines.
......@@ -231,7 +236,8 @@ if `eol' it only comments out empty lines if comments are
terminated by the end of line (i.e. `comment-end' is empty)."
:type '(choice (const :tag "Never" nil)
(const :tag "Always" t)
(const :tag "EOl-terminated" 'eol)))
(const :tag "EOl-terminated" 'eol))
:group 'comment)
;;;;
;;;; Helpers
......@@ -1091,7 +1097,8 @@ Else, call `comment-indent'."
(defcustom comment-auto-fill-only-comments nil
"Non-nil means to only auto-fill inside comments.
This has no effect in modes that do not define a comment syntax."
:type 'boolean)
:type 'boolean
:group 'comment)
(defun comment-valid-prefix-p (prefix compos)
(or
......
......@@ -63,7 +63,8 @@
;;;###autoload
(defcustom resize-minibuffer-frame-max-height nil
"*This variable is obsolete.")
"*This variable is obsolete."
:group 'resize-minibuffer)
;;;###autoload
(defcustom resize-minibuffer-frame-exactly t
......
......@@ -785,6 +785,7 @@ bound to `antlr-language'. For example, with value
\((java-mode \. 2) (c++-mode \. 0))
Java actions are fontified with level 2 and C++ actions are not
fontified at all."
:group 'antlr
:type '(choice (const :tag "None" none)
(const :tag "Inherit" inherit)
(const :tag "Default" nil)
......
......@@ -376,33 +376,41 @@ The expansion is entirely correct because it uses the C preprocessor."
(defcustom perl-indent-level 4
"*Indentation of Perl statements with respect to containing block."
:type 'integer)
:type 'integer
:group 'perl)
(defcustom perl-continued-statement-offset 4
"*Extra indent for lines not starting new statements."
:type 'integer)
:type 'integer
:group 'perl)
(defcustom perl-continued-brace-offset -4
"*Extra indent for substatements that start with open-braces.
This is in addition to `perl-continued-statement-offset'."
:type 'integer)
:type 'integer
:group 'perl)
(defcustom perl-brace-offset 0
"*Extra indentation for braces, compared with other text in same context."
:type 'integer)
:type 'integer
:group 'perl)
(defcustom perl-brace-imaginary-offset 0
"*Imagined indentation of an open brace that actually follows a statement."
:type 'integer)
:type 'integer
:group 'perl)
(defcustom perl-label-offset -2
"*Offset of Perl label lines relative to usual indentation."
:type 'integer)
:type 'integer
:group 'perl)
(defcustom perl-indent-continued-arguments nil
"*If non-nil offset of argument lines relative to usual indentation.
If nil, continued arguments are aligned with the first argument."
:type '(choice integer (const nil)))
:type '(choice integer (const nil))
:group 'perl)
(defcustom perl-tab-always-indent tab-always-indent
"Non-nil means TAB in Perl mode always indents the current line.
Otherwise it inserts a tab character if you type it past the first
nonwhite character on the line."
:type 'boolean)
:type 'boolean
:group 'perl)
;; I changed the default to nil for consistency with general Emacs
;; conventions -- rms.
......@@ -411,11 +419,13 @@ nonwhite character on the line."
For lines which don't need indenting, TAB either indents an
existing comment, moves to end-of-line, or if at end-of-line already,
create a new comment."
:type 'boolean)
:type 'boolean
:group 'perl)
(defcustom perl-nochange ";?#\\|\f\\|\\s(\\|\\(\\w\\|\\s_\\)+:[^:]"
"*Lines starting with this regular expression are not auto-indented."
:type 'regexp)
:type 'regexp
:group 'perl)
;; Outline support
......
......@@ -123,15 +123,18 @@
(defcustom tcl-indent-level 4
"*Indentation of Tcl statements with respect to containing block."
:type 'integer)
:type 'integer
:group 'tcl)
(defcustom tcl-continued-indent-level 4
"*Indentation of continuation line relative to first line of command."
:type 'integer)
:type 'integer
:group 'tcl)
(defcustom tcl-auto-newline nil
"*Non-nil means automatically newline before and after braces you insert."
:type 'boolean)
:type 'boolean
:group 'tcl)
(defcustom tcl-tab-always-indent tab-always-indent
"*Control effect of TAB key.
......@@ -149,7 +152,8 @@ to take place:
6. Move backward to start of comment, indenting if necessary."
:type '(choice (const :tag "Always" t)
(const :tag "Beginning only" nil)
(const :tag "Maybe move or make or delete comment" 'tcl)))
(const :tag "Maybe move or make or delete comment" 'tcl))
:group 'tcl)
(defcustom tcl-electric-hash-style nil ;; 'smart
......@@ -160,23 +164,28 @@ meaning that the choice between `backslash' and `quote' should be
made depending on the number of hashes inserted; or nil, meaning that
no quoting should be done. Any other value for this variable is
taken to mean `smart'. The default is nil."
:type '(choice (const backslash) (const quote) (const smart) (const nil)))
:type '(choice (const backslash) (const quote) (const smart) (const nil))
:group 'tcl)
(defcustom tcl-help-directory-list nil
"*List of topmost directories containing TclX help files."
:type '(repeat directory))
:type '(repeat directory)
:group 'tcl)
(defcustom tcl-use-smart-word-finder t
"*If not nil, use smart way to find current word, for Tcl help feature."
:type 'boolean)
:type 'boolean
:group 'tcl)
(defcustom tcl-application "wish"
"*Name of Tcl program to run in inferior Tcl mode."
:type 'string)
:type 'string
:group 'tcl)
(defcustom tcl-command-switches nil
"*List of switches to supply to the `tcl-application' program."
:type '(repeat string))
:type '(repeat string)
:group 'tcl)
(defcustom tcl-prompt-regexp "^\\(% \\|\\)"
"*If not nil, a regexp that will match the prompt in the inferior process.
......@@ -184,7 +193,8 @@ If nil, the prompt is the name of the application with \">\" appended.
The default is \"^\\(% \\|\\)\", which will match the default primary
and secondary prompts for tclsh and wish."
:type 'regexp)
:type 'regexp
:group 'tcl)
(defcustom inferior-tcl-source-command "source %s\n"
"*Format-string for building a Tcl command to load a file.
......@@ -192,7 +202,8 @@ This format string should use `%s' to substitute a file name
and should result in a Tcl expression that will command the
inferior Tcl to load that file. The filename will be appropriately
quoted for Tcl."
:type 'string)
:type 'string
:group 'tcl)
(defface tcl-escaped-newline '((t :inherit font-lock-string-face))
"Face used for (non-escaped) backslash at end of a line in Tcl mode."
......
......@@ -54,7 +54,8 @@
(defcustom reveal-around-mark t
"Reveal text around the mark, if active."
:type 'boolean)
:type 'boolean
:group 'reveal)
(defvar reveal-open-spots nil)
(make-variable-buffer-local 'reveal-open-spots)
......
......@@ -61,7 +61,8 @@ If the function returns nil, then `fill-paragraph' does its normal work.")
Kinsoku processing is designed to prevent certain characters from being
placed at the beginning or end of a line by filling.
See the documentation of `kinsoku' for more information."
:type 'boolean)
:type 'boolean
:group 'fill)
(defun set-fill-prefix ()
"Set the fill prefix to the current line up to point.
......
......@@ -1388,7 +1388,9 @@ Inserting indexing commands in a line makes the line longer - often
so long that it does not fit onto the screen. When this variable is
non-nil, newlines will be added as necessary before and/or after the
indexing command to keep lines short. However, the matched text
phrase and its index command will always end up on a single line.")
phrase and its index command will always end up on a single line."
:group 'reftex-index-support
:type 'boolean)
(defcustom reftex-index-phrases-sort-prefers-entry nil
"*Non-nil means when sorting phrase lines, the explicit index entry is used.
......
......@@ -842,7 +842,8 @@ simply by any key input."
:group 'table-hooks)
(defcustom table-yank-handler '(nil nil t nil)
"*yank-handler for table.")
"*yank-handler for table."
:group 'table)
(setplist 'table-disable-incompatibility-warning nil)
......
......@@ -110,17 +110,20 @@ would have the following buffer names in the various styles:
(const post-forward)
(const post-forward-angle-brackets)
(const :tag "standard Emacs behavior (nil)" nil))
:require 'uniquify)
:require 'uniquify
:group 'uniquify)
(defcustom uniquify-after-kill-buffer-p t
"If non-nil, rerationalize buffer names after a buffer has been killed."
:type 'boolean)
:type 'boolean
:group 'uniquify)
(defcustom uniquify-ask-about-buffer-names-p nil
"*If non-nil, permit user to choose names for buffers with same base file.
If the user chooses to name a buffer, uniquification is preempted and no
other buffer names are changed."
:type 'boolean)
:type 'boolean
:group 'uniquify)
;; The default value matches certain Gnus buffers.
(defcustom uniquify-ignore-buffers-re nil
......@@ -128,11 +131,13 @@ other buffer names are changed."
For instance, set this to \"^draft-[0-9]+$\" to avoid having uniquify rename
draft buffers even if `uniquify-after-kill-buffer-p' is non-nil and the
visited file name isn't the same as that of the buffer."
:type '(choice (const :tag "Uniquify all buffers" nil) regexp))
:type '(choice (const :tag "Uniquify all buffers" nil) regexp)
:group 'uniquify)
(defcustom uniquify-min-dir-content 0
"*Minimum number of directory name components included in buffer name."
:type 'integer)
:type 'integer
:group 'uniquify)
(defcustom uniquify-separator nil
"*String separator for buffer name components.
......@@ -140,14 +145,16 @@ When `uniquify-buffer-name-style' is `post-forward', separates
base file name from directory part in buffer names (default \"|\").
When `uniquify-buffer-name-style' is `reverse', separates all
file name components (default \"\\\")."
:type '(choice (const nil) string))
:type '(choice (const nil) string)
:group 'uniquify)
(defcustom uniquify-trailing-separator-p nil
"*If non-nil, add a file name separator to dired buffer names.
If `uniquify-buffer-name-style' is `forward', add the separator at the end;
if it is `reverse', add the separator at the beginning; otherwise, this
variable is ignored."
:type 'boolean)
:type 'boolean
:group 'uniquify)
(defcustom uniquify-strip-common-suffix
;; Using it when uniquify-min-dir-content>0 doesn't make much sense.
......@@ -156,7 +163,8 @@ variable is ignored."
E.g. if you open /a1/b/c/d and /a2/b/c/d, the buffer names will say
\"d|a1\" and \"d|a2\" instead of \"d|a1/b/c\" and \"d|a2/b/c\".
This can be handy when you have deep parallel hierarchies."
:type 'boolean)
:type 'boolean
:group 'uniquify)
(defvar uniquify-list-buffers-directory-modes '(dired-mode cvs-mode)
"List of modes for which uniquify should obey `list-buffers-directory'.
......
......@@ -146,7 +146,8 @@ menu if the variable `w32-use-w32-font-dialog' is nil."
(const :tag "Seperator" (""))
(list :tag "Font Entry"
(string :tag "Menu text")
(string :tag "Font"))))))))
(string :tag "Font")))))))
:group 'w32)
(defcustom x-select-enable-clipboard t
"*Non-nil means cutting and pasting uses the clipboard.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment