Skip to content

Commit

Permalink
Add missing `:group's to defcustoms.
Browse files Browse the repository at this point in the history
Ignore-this: c5126608a89343c907e6a03f77143a82

darcs-hash:20091111105701-d4134-b4f879f42e85e8fa3be2f4612c4d846986959ebb.gz
  • Loading branch information
loveshack committed Nov 11, 2009
1 parent f17b6c1 commit 68daaf2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions haskell-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions haskell-indent.el
Original file line number Diff line number Diff line change
Expand Up @@ -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 ()
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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")
Expand Down Expand Up @@ -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 ()
Expand Down
2 changes: 2 additions & 0 deletions haskell-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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))

Expand Down
1 change: 1 addition & 0 deletions inf-haskell.el
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 68daaf2

Please sign in to comment.