aboutsummaryrefslogtreecommitdiff
path: root/seam.el
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-04-06 22:31:23 -0400
committerSpencer Williams <spnw@plexwave.org>2025-04-06 22:31:23 -0400
commitb4f5bd1afebe586367cec8548363bb925b01d710 (patch)
treee5b61e27f058f88fd40ed05cb282c335429b8aba /seam.el
parent7e661196a239a29f995eb12073da440406facdd3 (diff)
Mention note title in deletion prompt
Diffstat (limited to 'seam.el')
-rw-r--r--seam.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/seam.el b/seam.el
index 65d09c1..cdf3227 100644
--- 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