summaryrefslogtreecommitdiff
path: root/orderless.el
diff options
context:
space:
mode:
authorOmar Antolín <omar.antolin@gmail.com>2021-03-23 09:47:54 -0600
committerOmar Antolín <omar.antolin@gmail.com>2021-03-23 09:47:54 -0600
commit150155ce3cdd28a8a94cdf99d769b2350cf07b5c (patch)
tree95c640948494cf21be989b6406537cb3220472aa /orderless.el
parenta609004d5fc3d2755545069187b6362e7a92d017 (diff)
Add literal matching to default styles and document (fix #42)
There is some misguided consensus that any candidate should be able to match itself... :P
Diffstat (limited to 'orderless.el')
-rw-r--r--orderless.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/orderless.el b/orderless.el
index 9b2b318..5be0a12 100644
--- a/orderless.el
+++ b/orderless.el
@@ -48,7 +48,7 @@
;; from strings to strings that map a component to a regexp to match
;; against. The variable `orderless-matching-styles' lists the
;; matching styles to be used for components, by default it allows
-;; regexp and initialism matching.
+;; literal, regexp and initialism matching.
;;; Code:
@@ -114,7 +114,7 @@ value means highlighting is skipped."
:type '(choice boolean function))
(defcustom orderless-matching-styles
- '(orderless-regexp orderless-initialism)
+ '(orderless-literal orderless-regexp orderless-initialism)
"List of component matching styles.
If this variable is nil, regexp matching is assumed.