Fix string mismatch in tests
See https://github.com/jorgenschaefer/emacs-buttercup/issues/228
This commit is contained in:
parent
29533525c3
commit
81192d5234
1 changed files with 3 additions and 1 deletions
|
|
@ -672,7 +672,9 @@ When opened, the link searches the buffer it's opened from."
|
|||
(when (buffer-base-buffer thing)
|
||||
(buffer-file-name (buffer-base-buffer thing))))))))
|
||||
(unless (strings-or-file-buffers-p org-ql-view-buffers-files)
|
||||
(user-error "Views that search non-file-backed buffers can't be linked to"))
|
||||
;; See https://github.com/jorgenschaefer/emacs-buttercup/issues/228
|
||||
;; for why we need to raise the error using "%s"
|
||||
(user-error "%s" "Views that search non-file-backed buffers can't be linked to"))
|
||||
(let* ((query-string (--if-let (org-ql--query-sexp-to-string org-ql-view-query)
|
||||
it (org-ql-view--format-query org-ql-view-query)))
|
||||
(buffers-files (prompt-for (org-ql-view--contract-buffers-files org-ql-view-buffers-files)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue