Emacs version: GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) of 2024-10-10
Meow version: meow-20241206.922/
Using the default QWERTY setup.
Steps to reproduce:
- go to any git repo and make a change in a file that you don't mind discarding
- start magit with
M-x magit-status
- navigate to the magit diff hunk with the change you made
SPC k to try and access the original keybind on k
- you should get the following error:
magit-apply-hunk: Wrong type argument: symbolp, #[0 " \"�!�!�\0��\0�!�\0��\0!" [magit-delete-thing "k" lookup-key current-local-map command-remapping call-interactively commandp] 5 nil nil]
Note that this works fine if you try and discard the contents of an entire file; it's only when you are attempting to use the context-sensitive hunk discard that I get that error.