branch: externals/orderless
commit 80b53ec38e2f27b1c64c4149d63c47559da0edbf
Author: Omar Antolín <[email protected]>
Commit: Omar Antolín <[email protected]>
Rename lim to limit
---
orderless.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/orderless.el b/orderless.el
index c4af89fa9d..0edb2bcfb4 100644
--- a/orderless.el
+++ b/orderless.el
@@ -55,8 +55,8 @@
t))
(defun orderless-all-completions (string table pred _point)
- (let* ((lim (car (completion-boundaries string table pred "")))
- (prefix (substring string 0 lim))
+ (let* ((limit (car (completion-boundaries string table pred "")))
+ (prefix (substring string 0 limit))
(all (all-completions prefix table pred))
(regexps (save-match-data (split-string (substring string limit)))))
(when minibuffer-completing-file-name
@@ -75,8 +75,8 @@
(invalid-regexp nil))))
(defun orderless-try-completion (string table pred point &optional _metadata)
- (let* ((lim (car (completion-boundaries string table pred "")))
- (prefix (substring string 0 lim))
+ (let* ((limit (car (completion-boundaries string table pred "")))
+ (prefix (substring string 0 limit))
(all (orderless-all-completions string table pred point)))
(cl-flet ((measured (string) (cons string (length string))))
(cond