summaryrefslogtreecommitdiff
path: root/helm-source.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-05-12 08:52:00 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-05-12 08:56:43 +0200
commit89ee2df6117e495f61441bd3c09986d6d8482920 (patch)
treebd0260d91caf8b0308725d1eca6f9a2d27bc76e3 /helm-source.el
parent17bb38a295fe114d558762f617e74ae35aca7397 (diff)
Allow getting marked with props (#2034)
* helm-source.el (helm-source): Add new slot marked-with-props. * helm.el (helm-make-visible-mark): Use it. (helm-marked-candidates): Use it.
Diffstat (limited to 'helm-source.el')
-rw-r--r--helm-source.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/helm-source.el b/helm-source.el
index 05d8389a..f656cc27 100644
--- a/helm-source.el
+++ b/helm-source.el
@@ -350,6 +350,15 @@
It is unuseful as the same can be performed by using more than
one function in transformers, it is kept only for backward compatibility.")
+ (marked-with-props
+ :initarg :marked-with-props
+ :initform nil
+ :custom (choice boolean symbol)
+ :documentation
+ " Get candidates with their properties in `helm-marked-candidates'.
+ Allow using the FORCE-DISPLAY-PART of `helm-get-selection' in marked
+ candidates, use t or 'withprop to pass it to `helm-get-selection'.")
+
(action-transformer
:initarg :action-transformer
:initform nil