about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-10-16 16:57:48 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-10-16 16:57:48 +0100
commite005caac2e447d7108e962fdaf8c0daea0a09f47 (patch)
tree4ccaac8c5a81ffd01733e2d6b9d9d2a6bc37f62a /.emacs.d/lisp
parenta4b8eb8b264905ae33a15bd4583252d9961bd967 (diff)
downloaddotfiles-e005caac2e447d7108e962fdaf8c0daea0a09f47.tar.gz
Make sure M-. is bound to embark-dwim
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-editor.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index ed72a89..d10b384 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -161,6 +161,8 @@
 
 (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)
   (elpaca--continue-build e))
 
 (defun +elpaca-xref-build-steps ()