diff options
| author | David Morgan <djm_uk@protonmail.com> | 2025-04-24 08:35:44 +0100 |
|---|---|---|
| committer | David Morgan <djm_uk@protonmail.com> | 2025-04-24 08:35:44 +0100 |
| commit | 7bdd64cd139e34f6f402ca42e1a4056948de75c7 (patch) | |
| tree | c42afac8b67444b79ddc121e1a66e089c2170935 | |
| parent | f04e5e86a2af8998461bf5c97029657a778f7b9d (diff) | |
| download | dotfiles-7bdd64cd139e34f6f402ca42e1a4056948de75c7.tar.gz | |
Remove workarounds for embark-dwim issue
| -rw-r--r-- | .emacs.d/lisp/init-editor.el | 6 | ||||
| -rw-r--r-- | .emacs.d/lisp/init-minibuffer.el | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index a4704a5..fc575c4 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -169,8 +169,6 @@ (defun +elpaca-unload-xref (e) (and (featurep 'xref) (unload-feature 'xref t)) - ;; Make sure xref-find-definitions doesn't override this embark binding (unless https://github.com/oantolin/embark/issues/732 can be fixed) - (bind-key "M-." 'embark-dwim) ;; Make sure these aren't overwritten (setq xref-search-program 'ripgrep xref-show-xrefs-function #'consult-xref @@ -221,9 +219,7 @@ With a prefix argument, moves up `current-prefix-arg' sexps first." (add-to-list 'xref-prompt-for-identifier 'xref-find-references-other-frame t) :bind ("C-c q" . xref-find-references-current-defun) - ("C-c C-M-." . xref-find-definitions-current-list-function) - ;; Make sure xref-find-definitions doesn't override this embark binding (unless https://github.com/oantolin/embark/issues/732 can be fixed) - ("M-." . embark-dwim)) + ("C-c C-M-." . xref-find-definitions-current-list-function)) (use-package ws-butler :diminish diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el index c4e3245..19ee323 100644 --- a/.emacs.d/lisp/init-minibuffer.el +++ b/.emacs.d/lisp/init-minibuffer.el @@ -535,8 +535,8 @@ The symbol at point is added to the future history." (use-package embark :bind (("C-." . embark-act) - ("M-." . embark-dwim) ([remap xref-find-definitions-current-list-function] . embark-dwim-beginning-of-list) + ([remap xref-find-definitions] . embark-dwim) ("C-c C-o" . embark-export) ("C-h b" . embark-bindings) ("C-h B" . describe-bindings) |