summaryrefslogtreecommitdiff
path: root/orderless.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-03-08 21:47:41 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-03-08 21:47:51 +0100
commit22781e064beb7b6d227a78d83f99a46d0e89ca40 (patch)
tree5a0463e8d0d424e9c8bac015fb4e2e20d70bb099 /orderless.el
parentfe2faa6992f845ca39a6757db473c8cffbabd73d (diff)
Reindent
Diffstat (limited to 'orderless.el')
-rw-r--r--orderless.el22
1 files changed, 11 insertions, 11 deletions
diff --git a/orderless.el b/orderless.el
index 4026fb4..d9f93fc 100644
--- a/orderless.el
+++ b/orderless.el
@@ -627,17 +627,17 @@ This function delegates to `orderless-%s'.
The orderless configuration is locally modified
specifically for the %s style.")
(fn-doc (lambda (fn) (format doc-fmt fn name fn name name))))
- `(progn
- (defun ,try-completion (string table pred point)
- ,(funcall fn-doc "try-completion")
- (let ,configuration
- (orderless-try-completion string table pred point)))
- (defun ,all-completions (string table pred point)
- ,(funcall fn-doc "all-completions")
- (let ,configuration
- (orderless-all-completions string table pred point)))
- (add-to-list 'completion-styles-alist
- '(,name ,try-completion ,all-completions ,docstring)))))
+ `(progn
+ (defun ,try-completion (string table pred point)
+ ,(funcall fn-doc "try-completion")
+ (let ,configuration
+ (orderless-try-completion string table pred point)))
+ (defun ,all-completions (string table pred point)
+ ,(funcall fn-doc "all-completions")
+ (let ,configuration
+ (orderless-all-completions string table pred point)))
+ (add-to-list 'completion-styles-alist
+ '(,name ,try-completion ,all-completions ,docstring)))))
;;; Ivy integration