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 | 2e1cdc287039a5e37dedc1bc8b6ad846dd659f00 (patch) | |
| tree | 7985c31f340c4424d4927e23c94c1a95d1b3c8c9 | |
| parent | 1e4ddabe69741b62d2ce1cfd84671093c6978d2d (diff) | |
| download | dotemacs-2e1cdc287039a5e37dedc1bc8b6ad846dd659f00.tar.gz dotemacs-2e1cdc287039a5e37dedc1bc8b6ad846dd659f00.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" |
