aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-26 10:11:50 -0400
committerCraig Jennings <c@cjennings.net>2026-06-26 10:11:50 -0400
commitac7e4b115eefe424281d3de40f3f3071aa77364b (patch)
treee24f498acab7d0eff89b263d1c7c9e8defc24af8
parente11fd0471920f2c24faeabbde14aaca2aea167e0 (diff)
downloaddotemacs-ac7e4b115eefe424281d3de40f3f3071aa77364b.tar.gz
dotemacs-ac7e4b115eefe424281d3de40f3f3071aa77364b.zip
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.
-rw-r--r--modules/custom-buffer-file.el4
1 files changed, 2 insertions, 2 deletions
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"