mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Restore the old buffer when using `ivy-call'
Without `deferred', the file selected in the `counsel-find-file' will only remain the current buffer afterwards when pressing RET on an item, not just `ivy-call'.
This commit is contained in:
@ -61,7 +61,7 @@ to a pop up buffer."
|
||||
(defun +emacs-lisp-lookup-definition (_thing)
|
||||
"Lookup definition of THING."
|
||||
(if-let (module (+emacs-lisp--module-at-point))
|
||||
(progn (doom/help-modules (car module) (cadr module) 'visit-dir) 'deferred)
|
||||
(doom/help-modules (car module) (cadr module) 'visit-dir)
|
||||
(call-interactively #'elisp-def)))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user