branch: elpa/helm
commit 41a68464cdd080c689dd235279e4ffbe92ae4634
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Add completing-file-name flag to helm-type-file
---
helm-types.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/helm-types.el b/helm-types.el
index 3ca63f13b0..f6cd3ef3e8 100644
--- a/helm-types.el
+++ b/helm-types.el
@@ -34,7 +34,10 @@
;; Files
-(defclass helm-type-file (helm-source) ()
+(defclass helm-type-file (helm-source)
+ ((completing-file-name
+ :initarg :completing-file-name :initform t
+ :documentation "Flag to notify we are completing filenames."))
"A class to define helm type file.")
(cl-defmethod helm-source-get-action-from-type ((object helm-type-file))