Skip to content

Commit

Permalink
Move user vars in their own groups.
Browse files Browse the repository at this point in the history
* helm-adaptative.el: do it.
* helm-mode.el: same, put also helm-mode in helm-mode group.
  • Loading branch information
thierryvolpiatto committed May 3, 2012
1 parent 79ece87 commit 9900a0b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions helm-adaptative.el
Expand Up @@ -32,18 +32,18 @@
"~/.emacs.d/helm-c-adaptive-history"
"Path of file where history information is stored."
:type 'string
:group 'helm-config)
:group 'helm-adapt)

(defcustom helm-c-adaptive-history-length 50
"Maximum number of candidates stored for a source."
:type 'number
:group 'helm-config)
:group 'helm-adapt)

(defcustom helm-c-use-adaptative-sorting nil
"Wheter to use or not adaptative sorting.
Even if a source use it, it will have no effect when set to nil."
:type 'boolean
:group 'helm-config)
:group 'helm-adapt)


;; Internal
Expand Down
8 changes: 6 additions & 2 deletions helm-mode.el
Expand Up @@ -22,6 +22,10 @@
(require 'helm-files)


(defgroup helm-mode nil
"Enable helm completion."
:group 'helm)

(defcustom helm-completing-read-handlers-alist
'((describe-function . helm-completing-read-symbols)
(describe-variable . helm-completing-read-symbols)
Expand Down Expand Up @@ -56,7 +60,7 @@ e.g ido completion for `find-file':
same as
\(find-file . ido-read-file-name\)
Note that you don't need to enable `ido-mode' for this to work."
:group 'helm-files
:group 'helm-mode
:type '(alist :key-type symbol :value-type symbol))


Expand Down Expand Up @@ -757,7 +761,7 @@ You can add such functions to `helm-completing-read-handlers-alist'
with a nil value.
Note: This mode will work only partially on Emacs23."
:group 'helm
:group 'helm-mode
:global t
:lighter helm-completion-mode-string
(declare (special completing-read-function))
Expand Down

0 comments on commit 9900a0b

Please sign in to comment.