bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#45234: Annotation function vs. Affixation function


From: clemera
Subject: bug#45234: Annotation function vs. Affixation function
Date: Mon, 14 Dec 2020 12:07:04 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On current master the results of the new annotation function are passed to the affixation function in minibuffer-completion-help:

    (when ann-fun
      (setq completions
            (mapcar (lambda (s)
                      (let ((ann (funcall ann-fun s)))
                        (if ann (list s ann) s)))
                    completions)))     (when aff-fun
      (setq completions
            (funcall aff-fun completions)))

If the annotation function returns a result it's packed into a list
which should be an unexpected format for the affixation function?
Maybe when both are defined only the affixation function should be used?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]