summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Yuen Ho Wong <wyuenho@users.noreply.github.com>2020-09-05 22:00:22 +0100
committerGitHub <noreply@github.com>2020-09-05 22:00:22 +0100
commit351d2fbb7d96a2f1213e4df12809422d0a7a3276 (patch)
treebdf7f0391e08cd10d205fd6eb9ccc8027b7e2e22
parent1f1e0380e2a8cd4fc29b8cc2e00cb01b56d86fbc (diff)
Fix typo
-rw-r--r--orderless.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/orderless.el b/orderless.el
index 6fbf12a..3ba62ed 100644
--- a/orderless.el
+++ b/orderless.el
@@ -147,13 +147,13 @@ a list of them."
(defcustom orderless-style-dispatchers nil
"List of style dispatchers.
-Style dispatchers are used to override to the matching styles
+Style dispatchers are used to override the matching styles
based on the actual component and its place in the list of
components. A style dispatcher is a function that takes a string
and two integers as arguments, it gets called with a component,
the 0-based index of the component and the total number of
-components. It can decides what matching styles to use for the
-component and otionally replace the component with a different
+components. It can decide what matching styles to use for the
+component and optionally replace the component with a different
string, or it can decline to handle the component leaving it for
future dispatchers. For details see `orderless-dispatch'.
@@ -162,7 +162,7 @@ component to match as an initialism and subsequent components to
match as literals. As another example, a style dispatcher could
arrange for a component starting with `?' to match the rest of
the component in the `orderless-flex' style. For more
-information on how this variable is used see
+information on how this variable is used, see
`orderless-default-pattern-compiler'."
:type 'hook
:group 'orderless)