diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-10-02 13:05:50 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-10-02 13:05:50 +0100 |
commit | 3e09f18ef9ce7ea46878109a9c0fd1bbb5334bf5 (patch) | |
tree | f37dd53b4c0e908539f3c4104f8ff62a46f7d97b | |
parent | 58727d3be2e8315214f51c61a0866a71ec08c2b3 (diff) | |
download | dotfiles-3e09f18ef9ce7ea46878109a9c0fd1bbb5334bf5.tar.gz |
Try to ensure embark-dwim is bound (again)
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 5 |
1 files changed, 4 insertions, 1 deletions
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 |