Revert "Change: (org-ql-find) Add workaround for Ivy support"
This reverts commit a02ed48ac8.
See <https://github.com/alphapapa/org-ql/issues/284#issuecomment-1187705847>.
This commit is contained in:
parent
a02ed48ac8
commit
06f1e1be6f
1 changed files with 0 additions and 10 deletions
|
|
@ -83,12 +83,6 @@ For an experience like `org-rifle', use a newline."
|
||||||
(defface org-ql-find-snippet '((t (:inherit font-lock-comment-face)))
|
(defface org-ql-find-snippet '((t (:inherit font-lock-comment-face)))
|
||||||
"Snippets.")
|
"Snippets.")
|
||||||
|
|
||||||
;;;; Variables
|
|
||||||
|
|
||||||
;; TODO: When Ivy no longer requires this workaround, remove it. See
|
|
||||||
;; <https://github.com/alphapapa/org-ql/issues/284>.
|
|
||||||
(defvar ivy-completing-read-dynamic-collection)
|
|
||||||
|
|
||||||
;;;; Functions
|
;;;; Functions
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
@ -215,10 +209,6 @@ single predicate)."
|
||||||
(mapc #'org-ql--ensure-buffer buffers-files)
|
(mapc #'org-ql--ensure-buffer buffers-files)
|
||||||
(let* ((completion-styles '(org-ql-find))
|
(let* ((completion-styles '(org-ql-find))
|
||||||
(completion-styles-alist (list (list 'org-ql-find #'try #'all "Org QL Find")))
|
(completion-styles-alist (list (list 'org-ql-find #'try #'all "Org QL Find")))
|
||||||
;; TODO: When Ivy no longer requires this workaround,
|
|
||||||
;; remove it and the corresponding defvar. See
|
|
||||||
;; <https://github.com/alphapapa/org-ql/issues/284>.
|
|
||||||
(ivy-completing-read-dynamic-collection t)
|
|
||||||
(selected (completing-read prompt #'collection nil))
|
(selected (completing-read prompt #'collection nil))
|
||||||
(marker (gethash selected table)))
|
(marker (gethash selected table)))
|
||||||
(with-current-buffer (marker-buffer marker)
|
(with-current-buffer (marker-buffer marker)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue