diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-26 10:11:50 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-26 10:11:50 -0400 |
| commit | 431334b2944f6da23a65c7bbdbdedf92ca5cbdfd (patch) | |
| tree | 1979e705d0c38a925fd5bc3edcc512ba58f277ef | |
| parent | f8b869bf0b3b59be8bad9c6ee429f9a3e7b478d7 (diff) | |
| download | dotemacs-431334b2944f6da23a65c7bbdbdedf92ca5cbdfd.tar.gz dotemacs-431334b2944f6da23a65c7bbdbdedf92ca5cbdfd.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.el | 4 |
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" |
