summaryrefslogtreecommitdiff
path: root/cape.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-11-05 20:10:57 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2025-11-05 20:10:57 +0100
commit98c375e6279c55c4e0c1a14df5ab8fbc0c8018d4 (patch)
treeedfeedd7fbbafe7e48b16f3291c252038c74f85f /cape.el
parent0a82f1e3cc8e5c852b43d26e61a73704d4341f9c (diff)
Improve cape-capf-sort
Diffstat (limited to 'cape.el')
-rw-r--r--cape.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cape.el b/cape.el
index f369155..4e8e150 100644
--- a/cape.el
+++ b/cape.el
@@ -1110,7 +1110,7 @@ This function can be used as an advice around an existing Capf."
(cape-wrap-properties capf :exclusive 'no))
;;;###autoload
-(defun cape-wrap-sort (capf sort)
+(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."
(cape-wrap-properties