Fix M-z in minibuffer (ivy/evil/etc)

This commit is contained in:
Henrik Lissner 2017-05-06 23:01:09 +02:00
parent 5d83fe83ca
commit db1deb4a18
4 changed files with 15 additions and 5 deletions

View file

@ -17,3 +17,9 @@ monopolizing the minibuffer."
(interactive)
(when (> (point) (minibuffer-prompt-end))
(call-interactively 'backward-kill-sentence)))
;;;###autoload
(defun doom-minibuffer-undo ()
"Undo an edit in the minibuffer without throwing errors."
(interactive)
(ignore-errors (call-interactively 'undo)))