WIP
This commit is contained in:
parent
3f08d45ace
commit
9aba73a28b
1 changed files with 2 additions and 1 deletions
|
|
@ -147,6 +147,7 @@ single predicate)."
|
||||||
;; (message "ORG-QL-COMPLETING-READ: Starts.")
|
;; (message "ORG-QL-COMPLETING-READ: Starts.")
|
||||||
(let ((table (make-hash-table :test #'equal))
|
(let ((table (make-hash-table :test #'equal))
|
||||||
(disambiguations (make-hash-table :test #'equal))
|
(disambiguations (make-hash-table :test #'equal))
|
||||||
|
(window-width (window-width))
|
||||||
last-input org-outline-path-cache query-tokens)
|
last-input org-outline-path-cache query-tokens)
|
||||||
(cl-labels (;; (debug-message
|
(cl-labels (;; (debug-message
|
||||||
;; (f &rest args) (apply #'message (concat "ORG-QL-COMPLETING-READ: " f) args))
|
;; (f &rest args) (apply #'message (concat "ORG-QL-COMPLETING-READ: " f) args))
|
||||||
|
|
@ -206,7 +207,7 @@ single predicate)."
|
||||||
(marker) (when-let
|
(marker) (when-let
|
||||||
((snippet
|
((snippet
|
||||||
(org-with-point-at marker
|
(org-with-point-at marker
|
||||||
(or (funcall org-ql-completing-read-snippet-function snippet-regexp)
|
(or (funcall org-ql-completing-read-snippet-function org-ql-completing-read-input-regexp)
|
||||||
(org-ql-completing-read--snippet-simple)))))
|
(org-ql-completing-read--snippet-simple)))))
|
||||||
(propertize (concat " " snippet)
|
(propertize (concat " " snippet)
|
||||||
'face 'org-ql-completing-read-snippet)))
|
'face 'org-ql-completing-read-snippet)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue