imalison:elisp-slime-nav bound to M-.

imalison:elisp-slime-nav does jump to definition normally and describe
thing at point with a prefix arg
This commit is contained in:
Ivan Malison 2016-06-18 19:00:23 -07:00
parent fa8e43e125
commit 2102460bef

View File

@ -1977,8 +1977,15 @@ I use helm for almost all emacs completion
:commands elisp-slime-nav-mode :commands elisp-slime-nav-mode
:config :config
(diminish 'elisp-slime-nav-mode) (diminish 'elisp-slime-nav-mode)
:preface
(imalison:prefix-alternatives imalison:elisp-slime-nav
elisp-slime-nav-find-elisp-thing-at-point
elisp-slime-nav-describe-elisp-thing-at-point)
:bind (:map elisp-slime-nav-mode-map
("M-." . imalison:elisp-slime-nav))
:init :init
(add-hook 'emacs-lisp-mode-hook (lambda () (elisp-slime-nav-mode t)))) (add-hook 'emacs-lisp-mode-hook (lambda () (elisp-slime-nav-mode t))))
(defun imenu-elisp-sections () (defun imenu-elisp-sections ()
(setq imenu-prev-index-position-function nil) (setq imenu-prev-index-position-function nil)
(setq imenu-space-replacement nil) (setq imenu-space-replacement nil)