Fix for issue with initial-input in org-ql-view--complete-buffers-files
This commit is contained in:
parent
8342656b2d
commit
7b990e5275
1 changed files with 3 additions and 2 deletions
|
|
@ -1054,8 +1054,9 @@ current buffer. Otherwise BUFFERS-FILES is returned unchanged."
|
||||||
"Return value for `org-ql-view-buffers-files' using completion."
|
"Return value for `org-ql-view-buffers-files' using completion."
|
||||||
(cl-labels ((initial-input
|
(cl-labels ((initial-input
|
||||||
() (when org-ql-view-buffers-files
|
() (when org-ql-view-buffers-files
|
||||||
(org-ql-view--contract-buffers-files
|
(cons (car (org-ql-view--contract-buffers-files
|
||||||
org-ql-view-buffers-files))))
|
org-ql-view-buffers-files))
|
||||||
|
0))))
|
||||||
(if (and org-ql-view-buffers-files
|
(if (and org-ql-view-buffers-files
|
||||||
(bufferp org-ql-view-buffers-files))
|
(bufferp org-ql-view-buffers-files))
|
||||||
;; Buffers can't be input by name, so if the default value is a buffer, just use it.
|
;; Buffers can't be input by name, so if the default value is a buffer, just use it.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue