[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/orderless b63019aea3 090/204: Add missing (oops!) "forg
From: |
ELPA Syncer |
Subject: |
[elpa] externals/orderless b63019aea3 090/204: Add missing (oops!) "forgiving funcall" function |
Date: |
Tue, 11 Jan 2022 12:58:20 -0500 (EST) |
branch: externals/orderless
commit b63019aea34f266f7bfbf244b23005993a5d7305
Author: Omar Antolín <omar.antolin@gmail.com>
Commit: Omar Antolín <omar.antolin@gmail.com>
Add missing (oops!) "forgiving funcall" function
---
orderless.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/orderless.el b/orderless.el
index ead96ea972..82fbcd8d65 100644
--- a/orderless.el
+++ b/orderless.el
@@ -292,6 +292,10 @@ converted to a list of regexps according to the value of
for string = (copy-sequence original)
collect (orderless--highlight regexps string)))
+(defun orderless--forgiving-funcall (fn &rest args)
+ "Call FN with as many ARGS as its arity allows."
+ (apply fn (cl-subseq args 0 (cdr (func-arity fn)))))
+
(defun orderless--component-regexps (pattern)
"Build regexps to match PATTERN.
Consults `orderless-style-dispatchers' and, if
- [elpa] externals/orderless f22789f358 202/204: Merge pull request #94 from minad/strict-initialism, (continued)
- [elpa] externals/orderless f22789f358 202/204: Merge pull request #94 from minad/strict-initialism, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 855255eb01 198/204: Mention Corfu and consult-completion-in-region (fix #99), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 269d7388ab 034/204: Merge pull request #6 from raxod502/patch-1, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless ae466bc4f4 054/204: Rename orderless-regexp-separator to orderless-component-separator, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless aad0aa8a8d 017/204: Copy candidates to avoid permanently changing their face, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 9218343171 043/204: Add command to temporarily change separator, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 2750e15c74 065/204: Add ivy integration, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless fb6ad592b7 067/204: List more helpful functions for integration, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 50c83f2752 074/204: Avoid using cl-lib in autoloads, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 274c8cbadc 078/204: Declare other ivy variable used, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless b63019aea3 090/204: Add missing (oops!) "forgiving funcall" function,
ELPA Syncer <=
- [elpa] externals/orderless 74947d0862 092/204: Update dispatchers documentation, and documents pattern compiler, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless c245cb6e9d 091/204: Make dispatchers always take 3 args (to avoid depending on 26.1), ELPA Syncer, 2022/01/11
- [elpa] externals/orderless c1be870f02 101/204: Undocument orderless-temporarily-change-separator in README, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless d0b217512f 104/204: Switch to single variable config, add transient vars, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 5618c349a6 107/204: Remove global dispatchers, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless e56eeef6e1 126/204: Merge pull request #22 from jcs-PR/badge, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless f49a0faceb 128/204: Off by one error in orderless-without-literal, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless ef9bff0020 133/204: Modify readme for better texinfo export, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless ec71107992 138/204: Merge branch 'master' of https://github.com/oantolin/orderless, ELPA Syncer, 2022/01/11
- [elpa] externals/orderless 4844452f4e 139/204: Update documentation, ELPA Syncer, 2022/01/11