diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index c6d6957..dd4178a 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -358,7 +358,9 @@ output, separated by \\n, when called with (file-symlink-p entry)))) (split-string (shell-command-to-string command) "\n")))) - (dired (cons "Command output" list-of-files)))) + (if (null list-of-files) + (message "No files return by command ā€œ%sā€" command) + (dired (cons "Command output" list-of-files))))) (defun db/system-open (path) "Open PATH with default program as defined by the underlying system."