mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
fix(editor/vertico): cleanup if projectile command is canceled
This commit is contained in:
@@ -70,9 +70,9 @@
|
||||
(if vertico-directory-mode
|
||||
(progn
|
||||
(vertico-directory-mode -1)
|
||||
(let ((result (apply orig-fun args)))
|
||||
(vertico-directory-mode +1)
|
||||
result))
|
||||
(unwind-protect
|
||||
(apply orig-fun args)
|
||||
(vertico-directory-mode +1)))
|
||||
(apply orig-fun args)))
|
||||
|
||||
(advice-add 'projectile-completing-read :around
|
||||
|
||||
Reference in New Issue
Block a user