From 3e09f18ef9ce7ea46878109a9c0fd1bbb5334bf5 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 2 Oct 2024 13:05:50 +0100 Subject: Try to ensure embark-dwim is bound (again) --- .emacs.d/lisp/init-editor.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index 850ddab..7849eda 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -193,7 +193,10 @@ (add-to-list 'xref-prompt-for-identifier 'xref-find-references t) (add-to-list 'xref-prompt-for-identifier 'xref-find-references-other-window t) (add-to-list 'xref-prompt-for-identifier 'xref-find-references-other-frame t) - :bind ("C-c q" . xref-find-references-current-defun)) + :bind + ("C-c q" . xref-find-references-current-defun) + ;; 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)) (use-package ws-butler :diminish -- cgit 1.4.1-2-gfad0