Skip to content

Commit 2bc327d

Browse files
committed
Fix: (org-ql-view--link-store) Error message for test suite
Use format string to prevent `substitute-quotes' from changing the error string, breaking the test suite when run on CI. Fixes #317.
1 parent 8bb1739 commit 2bc327d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

org-ql-view.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ When opened, the link searches the buffer it's opened from."
672672
(when (buffer-base-buffer thing)
673673
(buffer-file-name (buffer-base-buffer thing))))))))
674674
(unless (strings-or-file-buffers-p org-ql-view-buffers-files)
675-
(user-error "Views that search non-file-backed buffers can't be linked to"))
675+
(user-error "%s" "Views that search non-file-backed buffers can't be linked to"))
676676
(let* ((query-string (--if-let (org-ql--query-sexp-to-string org-ql-view-query)
677677
it (org-ql-view--format-query org-ql-view-query)))
678678
(buffers-files (prompt-for (org-ql-view--contract-buffers-files org-ql-view-buffers-files)))

0 commit comments

Comments
 (0)