aboutsummaryrefslogtreecommitdiff
path: root/modules
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
commit9e6cde1c18ac97073cd89fcc0e86cf3a85d36d42 (patch)
treea2ffa6721871d088344f065d3ceac088bda6ecaa /modules
parent61ad680be913f882008babec6c4e6ce89fb0ed6f (diff)
downloaddotemacs-9e6cde1c18ac97073cd89fcc0e86cf3a85d36d42.tar.gz
dotemacs-9e6cde1c18ac97073cd89fcc0e86cf3a85d36d42.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.
Diffstat (limited to 'modules')
-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 84faf01d..b10ecd16 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"