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:
parent
65dfdd5c4a
commit
e05d804f1f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue