commit b4f5bd1afebe586367cec8548363bb925b01d710
parent 7e661196a239a29f995eb12073da440406facdd3
Author: Spencer Williams <spnw@plexwave.org>
Date: Sun, 6 Apr 2025 22:31:23 -0400
Mention note title in deletion prompt
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/seam.el b/seam.el
@@ -545,10 +545,11 @@ buffer is killed after deletion."
(list
(let ((incoming (length (seam-get-links-to-file file))))
(and (yes-or-no-p
- (format "Really %s file and kill buffer%s?"
+ (format "Really %s `%s' and kill buffer%s?"
(if delete-by-moving-to-trash
"trash"
"delete")
+ (seam-get-title-from-buffer)
(if (> incoming 0)
(format " (breaking links from %d note%s)"
incoming