From 2e1cdc287039a5e37dedc1bc8b6ad846dd659f00 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 26 Jun 2026 10:11:50 -0400 Subject: fix(custom-buffer-file): correct swapped which-key labels for C-; b d and D C-; b d is cj/diff-buffer-with-file and C-; b D is cj/delete-buffer-and-file, but the which-key labels had them reversed -- d read as "delete file" and D as "diff buffer with file". The mislabel made D look like the diff key, so pressing it to see a diff deleted the file instead. Swap the labels to match the actual bindings. --- modules/custom-buffer-file.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/custom-buffer-file.el') diff --git a/modules/custom-buffer-file.el b/modules/custom-buffer-file.el index 84faf01d8..b10ecd168 100644 --- a/modules/custom-buffer-file.el +++ b/modules/custom-buffer-file.el @@ -546,8 +546,8 @@ Signals an error if: "C-; b m" "move file" "C-; b r" "rename file" "C-; b p" "copy buffer source" - "C-; b d" "delete file" - "C-; b D" "diff buffer with file" + "C-; b d" "diff buffer with file" + "C-; b D" "delete file" "C-; b c" "buffer copy menu" "C-; b c w" "copy whole buffer" "C-; b c b" "copy to bottom" -- cgit v1.2.3