branch: externals/cape
commit 0149fa759b5951f8c531d2b6920028c00ad08bc7
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>
Update docstring
---
cape.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/cape.el b/cape.el
index 4e8e150875..4cf5c3ee2f 100644
--- a/cape.el
+++ b/cape.el
@@ -1111,8 +1111,10 @@ This function can be used as an advice around an
existing Capf."
;;;###autoload
(defun cape-wrap-sort (capf &optional sort)
- "Call CAPF and add SORT function.
-This function can be used as an advice around an existing Capf."
+ "Call CAPF and add SORT function as completion metadata.
+If the SORT argument is nil or not given, the completion UI will use
+its own default sorting algorithm. This function can be used as an
+advice around an existing Capf."
(cape-wrap-properties
capf
:display-sort-function sort