From 787fa7a8ab3ccf12c0e7e4efafd7506999071ea5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 19 Aug 2021 15:29:49 +0300 Subject: [PATCH] Minor doc fixes in icomplete.el * lisp/icomplete.el (icomplete-section): Add :version. (icomplete--augment): Doc fix. --- lisp/icomplete.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/icomplete.el b/lisp/icomplete.el index ee34d85514b..84073933894 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -112,7 +112,8 @@ Otherwise this should be a list of the completion tables (e.g., :version "28.1") (defface icomplete-section '((t :inherit shadow :slant italic)) - "Face used by `icomplete-vertical-mode' for the section title.") + "Face used by `icomplete-vertical-mode' for the section title." + :version "28.1") ;;;_* User Customization variables (defcustom icomplete-prospects-height 2 @@ -750,7 +751,7 @@ See `icomplete-mode' and `minibuffer-setup-hook'." (defun icomplete--augment (md prospects) "Augment completion strings in PROSPECTS with completion metadata MD. Return a list of strings (COMP PREFIX SUFFIX SECTION). PREFIX -and SUFFIX, if non-nil are obtained from `affixation-function' or +and SUFFIX, if non-nil, are obtained from `affixation-function' or `annotation-function' metadata. SECTION is obtained from `group-function'. Consecutive `equal' sections are avoided. COMP is the element in PROSPECTS or a transformation also given -- 2.39.2