diff options
| author | Omar Antolín <omar.antolin@gmail.com> | 2020-04-14 17:47:02 -0500 |
|---|---|---|
| committer | Omar Antolín <omar.antolin@gmail.com> | 2020-04-14 17:47:02 -0500 |
| commit | 80b53ec38e2f27b1c64c4149d63c47559da0edbf (patch) | |
| tree | e4be4e39910e789588b5f0daac7382f5bb7e8c31 | |
| parent | a11302737ea3266fc59d72141eaee5cea36bfc3d (diff) | |
Rename lim to limit
| -rw-r--r-- | orderless.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/orderless.el b/orderless.el index c4af89f..0edb2bc 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 |
