diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-08-19 15:29:49 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-08-19 15:29:49 +0300 |
commit | 787fa7a8ab3ccf12c0e7e4efafd7506999071ea5 (patch) | |
tree | 31ef1cf373f28ef9705d79e47c73a252a500b58d | |
parent | 8e93a37b7732e90a2b102b7246cc2cd69d840208 (diff) | |
download | emacs-787fa7a8ab3ccf12c0e7e4efafd7506999071ea5.tar.gz |
Minor doc fixes in icomplete.el
* lisp/icomplete.el (icomplete-section): Add :version.
(icomplete--augment): Doc fix.
-rw-r--r-- | lisp/icomplete.el | 5 |
1 files 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 |