Merge pull request #4415 from nbfalcon/bugfix/module-goto-definition
Workaround: fix goto definition on modules
This commit is contained in:
commit
4e4ad325a5
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ to a pop up buffer."
|
||||||
(defun +emacs-lisp-lookup-definition (_thing)
|
(defun +emacs-lisp-lookup-definition (_thing)
|
||||||
"Lookup definition of THING."
|
"Lookup definition of THING."
|
||||||
(if-let (module (+emacs-lisp--module-at-point))
|
(if-let (module (+emacs-lisp--module-at-point))
|
||||||
(doom/help-modules (car module) (cadr module) 'visit-dir)
|
;; FIXME: this is probably a bug in `counsel'. See
|
||||||
|
;; https://github.com/abo-abo/swiper/pull/2752.
|
||||||
|
(progn (doom/help-modules (car module) (cadr module) 'visit-dir) 'deferred)
|
||||||
(call-interactively #'elisp-def)))
|
(call-interactively #'elisp-def)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue