about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-30 16:14:35 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-30 16:14:35 +0000
commitb531403fee00c50a6db8ae341cfa85e0354cbdb4 (patch)
tree81e462c972a71c8e421e020501f052df2a2d4ae5 /.emacs.d
parent5b7ad8fe327f1b5dd9ba19ca11a41d796a07553d (diff)
downloaddotfiles-b531403fee00c50a6db8ae341cfa85e0354cbdb4.tar.gz
Use strict (non-leading) initialism by default
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-completion.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-completion.el b/.emacs.d/lisp/init-completion.el
index c231841..9ce7682 100644
--- a/.emacs.d/lisp/init-completion.el
+++ b/.emacs.d/lisp/init-completion.el
@@ -59,7 +59,7 @@
   (completion-styles '(orderless partial-completion basic))
   (completion-category-defaults nil)
   (completion-category-overrides '((file (styles . (partial-completion orderless)))))
-  (orderless-matching-styles '(orderless-literal orderless-regexp orderless-strict-leading-initialism))
+  (orderless-matching-styles '(orderless-literal orderless-regexp orderless-strict-initialism))
   (orderless-style-dispatchers '(+orderless-dispatch))
   :config
   (defun my/orderless-match-components-literally ()
@@ -89,7 +89,7 @@ no words in between, beginning with the first word."
   (defvar +orderless-dispatch-alist
     '((?% . char-fold-to-regexp)
       (?! . orderless-without-literal)
-      (?` . orderless-strict-initialism)
+      (?` . orderless-strict-leading-initialism)
       (?= . orderless-literal)
       (?_ . orderless-prefix)
       (?~ . orderless-flex)))
@@ -106,7 +106,7 @@ no words in between, beginning with the first word."
   ;; * =literal literal=
   ;; * _prefix prefix_
   ;; * %char-fold char-fold%
-  ;; * `strict-initialism strict-initialism`
+  ;; * `strict-leading-initialism strict-leading-initialism`
   ;; * !without-literal without-literal!
   ;; * .ext (file extension)
   ;; * regexp$ (regexp matching at end)