[Utils] Fix directory name for ‘db/dired-from-shell-command’
Sometimes the string "Output of ‘…’" seems to be interpreted as directory name, and then dired complains about it not being existent. It is not completely understood yet when this will happen, and an easy workaround seems to be to stick to a fixed string that works. This is what’s used now.
This commit is contained in:
parent
0e3ad47943
commit
57198f1e1a
|
@ -347,10 +347,7 @@ output, separated by \\n, when called with
|
|||
(file-readable-p entry)))
|
||||
(split-string (shell-command-to-string command)
|
||||
"\n"))))
|
||||
(if (null list-of-files)
|
||||
(user-error "No files to display, aborting")
|
||||
(dired (cons (format "Output of `%s’" command)
|
||||
list-of-files)))))
|
||||
(dired (cons "Command output" list-of-files))))
|
||||
|
||||
|
||||
;;; helm configuration
|
||||
|
|
Loading…
Reference in New Issue