From d78f3974bd4f49b1f3a71d9f4f049f5d36f60036 Mon Sep 17 00:00:00 2001 From: Levi Date: Fri, 20 Sep 2024 08:50:44 +0200 Subject: [PATCH] orderless literal search, perspectives fixes / ignore --- .gitignore | 1 + emacs/module/module-orderless.el | 2 +- emacs/module/module-perspective.el | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4650796..f17c02d 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ emacs/flycheck_init.el /emacs/.org-id-locations /emacs/detached/ /emacs/elisa/ +/emacs/perspectives diff --git a/emacs/module/module-orderless.el b/emacs/module/module-orderless.el index bd31f3c..174cf4e 100644 --- a/emacs/module/module-orderless.el +++ b/emacs/module/module-orderless.el @@ -14,7 +14,7 @@ completion-category-overrides '((file (styles . (partial-completion)))) completion-category-defaults nil completion-ignore-case t - orderless-matching-styles '(orderless-flex orderless-prefixes orderless-initialism) + orderless-matching-styles '(orderless-literal orderless-flex orderless-prefixes orderless-initialism) orderless-component-separator #'orderless-escapable-split-on-space) (provide 'module-orderless) diff --git a/emacs/module/module-perspective.el b/emacs/module/module-perspective.el index 1c26a11..27bed49 100644 --- a/emacs/module/module-perspective.el +++ b/emacs/module/module-perspective.el @@ -15,10 +15,10 @@ (defun my-persp-save () - (persp-state-save "~/.emacs.d/perspectives")) + (persp-state-save "~/.config/emacs/perspectives")) (defun my-persp-load () - (persp-state-load "~/.emacs.d/perspectives")) + (persp-state-load "~/.config/emacs/perspectives")) (global-set-key (kbd "C-x k") 'persp-kill-buffer*)