mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
Merge pull request #4415 from nbfalcon/bugfix/module-goto-definition
Workaround: fix goto definition on modules
This commit is contained in:
@@ -61,7 +61,9 @@ to a pop up buffer."
|
||||
(defun +emacs-lisp-lookup-definition (_thing)
|
||||
"Lookup definition of THING."
|
||||
(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)))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user