branch: elpa/helm
commit 3e1b388d54f3d04ab47397d3a7ca205438fb9418
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Add comment
---
 helm-mode.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/helm-mode.el b/helm-mode.el
index b8aa0f4edc..2689633ade 100644
--- a/helm-mode.el
+++ b/helm-mode.el
@@ -1298,6 +1298,13 @@ dynamically otherwise use 
`helm-completing-read-default-2'."
         (unless (completion-metadata-get metadata 'category)
           (setq metadata `(metadata (category . ,it))
                 category it)))
+    ;; FIXME: Actually we are using completions-detailed as a flag to decide if
+    ;; we add affixations or not, but as we do our own implementation probably
+    ;; we could provide this feature as well for earlier Emacs (27.2 looks a
+    ;; good target) that don't have completions-detailed.
+    ;; For this we need some compatibility fns though:
+    ;; - inline helm--symbol-class
+    ;; - for packages missing fns move all compat code from helm-packages to 
helm-lib. 
     (helm-aif (and (boundp 'completions-detailed)
                    completions-detailed
                    (assoc-default category 
helm-completing-read-extra-metadata))

Reply via email to