diff options
author | Kyle Meyer <kyle@kyleam.com> | 2019-01-27 22:56:47 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2019-02-15 23:57:40 -0500 |
commit | f516b522a92adca292de81df23373c1150230968 (patch) | |
tree | 6f4a02458940fc48c425d74c03138fa35d215e7d | |
parent | 649441e355a56476c1c19cdcc7fbff96e574137e (diff) | |
download | emacs.d-f516b522a92adca292de81df23373c1150230968.tar.gz |
scheme: Prefer tags for finding definitions
-rw-r--r-- | init.el | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1327,6 +1327,8 @@ :config (after 'elisp-mode (add-hook 'emacs-lisp-mode-hook #'km/helm-maybe-override-xref)) + (after 'scheme + (add-hook 'scheme-mode-hook #'km/helm-maybe-override-xref)) (after 'python (add-hook 'python-mode-hook #'km/helm-maybe-override-xref))) @@ -1942,7 +1944,8 @@ (use-package geiser-mode :config - (define-key geiser-mode-map (kbd "C-.") nil)) + (define-key geiser-mode-map (kbd "C-.") nil) + (define-key geiser-mode-map (kbd "M-.") nil)) (use-package scheme :config @@ -1951,7 +1954,8 @@ (setq imenu-generic-expression (cons (list nil "^(define-public\\s-+\\(\\sw+\\)" 1) - imenu-generic-expression))))) + imenu-generic-expression)))) + (define-key scheme-mode-map (kbd "M-.") #'xref-find-definitions)) (use-package python :init |