Open dvzubarev opened 1 year ago
Yes, I'd rather consider this a bug, since it breaks the expected functionality of in-build and other packages.
Until there's a better solution, here's a dirty hack to keep using embark-export with dirvish:
(advice-add 'dirvish-dired-noselect-a
:before-until
(defun my/dirvish-dired-noselect-on-lists (&rest args)
(and (listp (cadr args))
(apply (car args) (cdr args)))))
Dirty since we're advising an advice function to unadvise the original function (dired-noselect
) under certain conditions. :)
Is your feature request related to a problem? Please describe. I was trying to use
embark-export
with results ofconsult-find
command. It resulted in an error:Describe the solution you'd like In the documentation for
dired-noselect
the first argument is namedDIR-OR-LIST
. And in the documentation ofdired
is stated that the first argument may be a list:It would be good if dirvish supports dired API, so it can work with thirdparty packages
Describe alternatives you've considered
Additional context