Skip to content

Commit 11a0466

Browse files
committed
Fix: (helm-org-ql-map) Use make-composed-keymap
Fixes #99. Thanks to Akira Komamura (@akirak).
1 parent 20f3ce7 commit 11a0466

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm-org-ql.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@
5656
;;;; Variables
5757

5858
(defvar helm-org-ql-map
59-
(let ((map (copy-keymap helm-map))
59+
(let ((map (make-sparse-keymap))
6060
(mappings '(
6161
"C-x C-s" helm-org-ql-save
6262
)))
6363
(cl-loop for (key fn) on mappings by #'cddr
6464
do (define-key map (kbd key) fn))
65-
map)
65+
(make-composed-keymap map helm-map))
6666
"Keymap for `helm-org-ql' sessions.
6767
Based on `helm-map'.")
6868

0 commit comments

Comments
 (0)