[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/orderless ae849b3d9f 2/2: Fix typos in documentation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/orderless ae849b3d9f 2/2: Fix typos in documentation |
Date: |
Sun, 29 Jan 2023 13:57:55 -0500 (EST) |
branch: externals/orderless
commit ae849b3d9f8c8a777e05816321ed2b00e8304447
Author: Omar Antolín Camarena <omar.antolin@gmail.com>
Commit: Omar Antolín Camarena <omar.antolin@gmail.com>
Fix typos in documentation
---
README.org | 4 ++--
orderless.texi | 8 +++-----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index f1ead4c7c1..7d33916bf0 100644
--- a/README.org
+++ b/README.org
@@ -175,9 +175,9 @@ regexp styles.
=orderless-affix-dispatch= which enables a simple syntax based on
special characters used as either a prefix or suffix:
- - =!= makes the rest of the component match match using the
+ - =!= makes the rest of the component match using
=orderless-without-literal=, that is, both =!bad= and =bad!= will match
- string that do /not/ contain the substring =bad=.
+ strings that do /not/ contain the substring =bad=.
- =,= uses =orderless-initialism=.
- === uses =orderless-literal=.
- =~= uses =orderless-flex=.
diff --git a/orderless.texi b/orderless.texi
index 9297281083..ebca7d6271 100644
--- a/orderless.texi
+++ b/orderless.texi
@@ -222,9 +222,9 @@ special characters used as either a prefix or suffix:
@itemize
@item
-@samp{!} makes the rest of the component match match using the
+@samp{!} makes the rest of the component match using
@samp{orderless-without-literal}, that is, both @samp{!bad} and @samp{bad!}
will match
-string that do @emph{not} contain the substring @samp{bad}.
+strings that do @emph{not} contain the substring @samp{bad}.
@item
@samp{,} uses @samp{orderless-initialism}.
@item
@@ -485,13 +485,11 @@ Pressing SPC takes you out of completion, so with the
default
separator you are limited to one component, which is no fun. To fix
this add a separator that is allowed to occur in identifiers, for
example, for Emacs Lisp code you could use an ampersand:
-@end enumerate
@lisp
(setq orderless-component-separator "[ &]")
@end lisp
-@enumerate
@item
The matching portions of candidates aren't highlighted. That's
because @samp{company-capf} is hard-coded to look for the
@@ -501,7 +499,6 @@ because @samp{company-capf} is hard-coded to look for the
So, while you can't get different faces for different components,
you can at least get the matches highlighted in the sole available
face with this configuration:
-@end enumerate
@lisp
(defun just-one-face (fn &rest args)
@@ -512,6 +509,7 @@ face with this configuration:
@end lisp
(Aren't dynamically scoped variables and the advice system nifty?)
+@end enumerate
If you would like to use different @samp{completion-styles} with
@samp{company-capf} instead, you
can add this to your config: