Maybe this is just a result of me being an Elisp newbie, but I can't figure out how to add a switch to a key-mode that doesn't have switches by default. For instances, this works fine:
(eval-after-load 'magit '(magit-key-mode-insert-switch 'pushing "-u" "Set upstream" "-u")) But if I use 'branching instead of 'pushing, I get: Wrong type argument: consp, nil. I imagine there's some other function I can call that would do what I want, but I can't figure it out just from looking at the source.
