You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you put magit in purpose-special-action-sequences like this, because a function named magit exists, Purpose interprets it as a predicate functions and calls it with 3 arguments.
The problem here is in the purpose-x-magit extension - I should change it to define a Magit purpose instead of magit, then you can put Magit instead of magit. In the meantime you can replace magit with (lambda (purpose _buffer _alist) (eq purpose 'magit)).
I'm gonna change the title to reflect the bug (it is unrelated to Emacs version).
bmag
changed the title
Wrong number of arguments: (0 . 2), 3 on emacs 27
magit purpose defined by purpose-x-magit can cause error: Wrong number of arguments: (0 . 2), 3
Mar 21, 2019
The following configuration gives me the error:
Wrong number of arguments: (0 . 2), 3
when I callswitch-to-buffer
ormagit
:emacs version:
27.0.50
The text was updated successfully, but these errors were encountered: