Skip to content

Commit

Permalink
Remap embark-collect to embark-export
Browse files Browse the repository at this point in the history
  • Loading branch information
alphapapa committed Dec 21, 2023
1 parent 2644f53 commit f4b006f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion org-ql-completing-read.el
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@

(defvar-keymap org-ql-completing-read-map
:doc "Active during `org-ql-completing-read' sessions."
(kbd "C-c C-e") #'org-ql-completing-read-export)
"C-c C-e" #'org-ql-completing-read-export)

;; `embark-collect' doesn't work for `org-ql-completing-read', so remap
;; it to `embark-export' (which `keymap-set', et al doesn't allow).
(define-key org-ql-completing-read-map [remap embark-collect] 'embark-export)

;;;; Customization

Expand Down

0 comments on commit f4b006f

Please sign in to comment.