summaryrefslogtreecommitdiff
path: root/helm-source.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-21 09:43:34 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-01-21 09:43:34 +0100
commitd870816832e9e48ccbcc4b05eeb2e40a5ba422aa (patch)
tree9a0ba927c04bd88bdaf3f51b9ff8709cada2ae75 /helm-source.el
parentba8990a4692970170a989b94350d9d35ff010a38 (diff)
Ensure sources use by default helm-map and update keymap after updating.
* helm-source.el (helm-source): Use by default helm-map. Needed when switching from another source with a keymap specified, this keymap is used instead of helm-map. * helm.el (helm-internal): Update keymap after update.
Diffstat (limited to 'helm-source.el')
-rw-r--r--helm-source.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/helm-source.el b/helm-source.el
index ac385454..b4de30af 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -126,15 +126,11 @@
(keymap
:initarg :keymap
- :initform nil
+ :initform helm-map
:custom sexp
:documentation
" Specific keymap for this source.
- It is useful to have a keymap per source when using more than
- one source. Otherwise, a keymap can be set per command with
- `helm' argument KEYMAP. NOTE: when a source have `helm-map' as
- keymap attr, the global value of `helm-map' will override the
- actual local one.")
+ Default value is `helm-map'.")
(action
:initarg :action