summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-16 14:44:57 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-16 14:44:57 +0200
commitbb5e11c82783bd65b67c95207e0f9ecd3d0ac57a (patch)
tree3859dffd38c0d186cc655fedd857453626d56f2e
parentfa09b8b093bb884a6d60cb18cdd059f01d54d13e (diff)
Require dired-x where needed
* helm-files.el (helm-find-file-or-marked): Do it.
-rw-r--r--helm-files.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/helm-files.el b/helm-files.el
index 310ea72c..f64fa5e3 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -3313,6 +3313,7 @@ Ask to kill buffers associated with that file, too."
(defun helm-find-file-or-marked (candidate)
"Open file CANDIDATE or open helm marked files in separate windows.
Called with a prefix arg open files in background without selecting them."
+ (require 'dired-x)
(let ((marked (helm-marked-candidates :with-wildcard t))
(url-p (and helm--url-regexp ; we should have only one candidate.
(string-match helm--url-regexp candidate)))