summaryrefslogtreecommitdiff
path: root/helm.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-23 15:16:59 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-23 15:16:59 +0200
commit161c90ffb4b07df3a872df6a258e23de12837306 (patch)
tree40844bcc362d4ecf69f0623416026d28ecc89e0a /helm.el
parent38576d1637f243c32a5fe642836169f6333379c1 (diff)
Declare helm--completing-file-name in helm.el (#1880)
* helm.el (helm--completing-file-name): Moved from helm-mode.el.
Diffstat (limited to 'helm.el')
-rw-r--r--helm.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/helm.el b/helm.el
index 7f6bcb68..4d117d30 100644
--- a/helm.el
+++ b/helm.el
@@ -1302,6 +1302,9 @@ Sources generated by `helm-mode' don't need to be added here
because they are automatically added.
You should not modify this yourself unless you know what you are doing.")
+(defvar helm--completing-file-name nil
+ "Non nil when `helm-read-file-name' is running.
+Used for `helm-file-completion-source-p'.")
;; Same as `ffap-url-regexp' but keep it here to ensure `ffap-url-regexp' is not nil.
(defvar helm--url-regexp "\\`\\(news\\(post\\)?:\\|mailto:\\|file:\\|\\(ftp\\|https?\\|telnet\\|gopher\\|www\\|wais\\)://\\)")
(defvar helm--ignore-errors nil