Permalink
Browse files

Add missing `:group's to defcustoms.

Ignore-this: c5126608a89343c907e6a03f77143a82

darcs-hash:20091111105701-d4134-b4f879f42e85e8fa3be2f4612c4d846986959ebb.gz
  • Loading branch information...
1 parent f17b6c1 commit 68daaf29cc68899583125cbcc84616276eee65a0 @loveshack loveshack committed Nov 11, 2009
Showing with 14 additions and 0 deletions.
  1. +7 −0 haskell-doc.el
  2. +4 −0 haskell-indent.el
  3. +2 −0 haskell-mode.el
  4. +1 −0 inf-haskell.el
View
@@ -407,39 +407,46 @@ This variable is buffer-local.")
(defcustom haskell-doc-show-global-types nil
"If non-nil, search for the types of global functions by loading the files.
This variable is buffer-local."
+ :group 'haskell-doc
:type 'boolean)
(make-variable-buffer-local 'haskell-doc-show-global-types)
(defcustom haskell-doc-show-reserved t
"If non-nil, show a documentation string for reserved ids.
This variable is buffer-local."
+ :group 'haskell-doc
:type 'boolean)
(make-variable-buffer-local 'haskell-doc-show-reserved)
(defcustom haskell-doc-show-prelude t
"If non-nil, show a documentation string for prelude functions.
This variable is buffer-local."
+ :group 'haskell-doc
:type 'boolean)
(make-variable-buffer-local 'haskell-doc-show-prelude)
(defcustom haskell-doc-show-strategy t
"If non-nil, show a documentation string for strategies.
This variable is buffer-local."
+ :group 'haskell-doc
:type 'boolean)
(make-variable-buffer-local 'haskell-doc-show-strategy)
(defcustom haskell-doc-show-user-defined t
"If non-nil, show a documentation string for user defined ids.
This variable is buffer-local."
+ :group 'haskell-doc
:type 'boolean)
(make-variable-buffer-local 'haskell-doc-show-user-defined)
(defcustom haskell-doc-chop-off-context t
"If non-nil eliminate the context part in a Haskell type."
+ :group 'haskell-doc
:type 'boolean)
(defcustom haskell-doc-chop-off-fctname nil
"If non-nil omit the function name and show only the type."
+ :group 'haskell-doc
:type 'boolean)
(defvar haskell-doc-search-distance 40 ; distance in characters
View
@@ -323,6 +323,7 @@ It deals with both Bird style and non Bird-style scripts."
(defcustom haskell-indent-look-past-empty-line t
"If nil, indentation engine will not look past an empty line for layout points."
+ :group 'haskell-indent
:type 'boolean)
(defun haskell-indent-start-of-def ()
@@ -1015,6 +1016,7 @@ OPEN is the start position of the comment in which point is."
"If non-nil, \"then\" and \"else\" are indented.
This is necessary in the \"do\" layout under Haskell-98.
See http://hackage.haskell.org/trac/haskell-prime/wiki/DoAndIfThenElse"
+ :group 'haskell-indent
:type 'integer)
(defun haskell-indent-closing-keyword (start)
@@ -1060,6 +1062,7 @@ If absent OFFSET defaults to `haskell-indent-offset'.
OFFSET-HANGING is the offset to use in the case where the keyword
is at the end of an otherwise-non-empty line."
+ :group 'haskell-indent
:type '(repeat (choice string
(cons :tag "" (string :tag "keyword:")
(cons :tag "" (integer :tag "offset")
@@ -1087,6 +1090,7 @@ is at the end of an otherwise-non-empty line."
(defcustom haskell-indent-dont-hang '("(")
"Lexemes that should never be considered as hanging."
+ :group 'haskell-indent
:type '(repeat string))
(defun haskell-indent-hanging-p ()
View
@@ -227,6 +227,7 @@ of `haskell-literate-default' is used.")
"Default value for `haskell-literate'.
Used if the style of a literate buffer is ambiguous. This variable should
be set to the preferred literate style."
+ :group 'haskell
:type '(choice (const bird) (const tex) (const nil)))
;; Mode maps.
@@ -496,6 +497,7 @@ Invokes `haskell-mode-hook'."
(if (executable-find "hoogle") "hoogle")
"Name of the command to use to query Hoogle.
If nil, use the Hoogle web-site."
+ :group 'haskell
:type '(choice (const :tag "Use Web-site" nil)
string))
View
@@ -121,6 +121,7 @@ The format should be the same as for `compilation-error-regexp-alist'.")
(defcustom inferior-haskell-find-project-root t
"If non-nil, try and find the project root directory of this file.
This will either look for a Cabal file or a \"module\" statement in the file."
+ :group 'haskell
:type 'boolean)
(define-derived-mode inferior-haskell-mode comint-mode "Inf-Haskell"

0 comments on commit 68daaf2

Please sign in to comment.