Change: Error if file can't be opened
This commit is contained in:
parent
fd00eb6bb5
commit
52a1deffa2
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ buffer (the default is to widen and search the entire buffer)."
|
|||
(-flatten-n 1 (--map (with-current-buffer (cl-typecase it
|
||||
(buffer it)
|
||||
(string (or (find-buffer-visiting it)
|
||||
(find-file-noselect it))))
|
||||
(find-file-noselect it)
|
||||
(user-error "Can't open file: %s" it))))
|
||||
(mapcar action-fn
|
||||
(org-ql--filter-buffer :pred pred :narrow narrow)))
|
||||
buffers-or-files))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue