Make sure minibuffer can be resized while renaming

We need it to display the echo are message about the potential change to
the file's front matter.
This commit is contained in:
Protesilaos Stavrou 2022-06-17 11:26:32 +03:00
parent 34d11cea33
commit a785de6760
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA

View file

@ -219,7 +219,8 @@ attachments that the user adds to their notes."
(denote-dired--file-name-id file)
keywords
(denote--sluggify title)
extension)))
extension))
(max-mini-window-height 0.25)) ; allow minibuffer to be resized
(unless (string= old-name (file-name-nondirectory new-name))
(when (y-or-n-p
(format "Rename %s to %s?"