After updating to magit v2.2.0 (and removing the old magit, git-rebase-mode and git-commit-mode I got the following error message after calling M-x magit-status:

Wrong type argument: symbolp, (cyg . win)

and Magit does not fire up. Thought it could come from my init file but removing it did not solve the problem.

M-x magit-version gives Magit 20151019.443, Git 2.6.2, Emacs 24.4.1.

OS: Ubuntu 15.04

Any hints? Thx!


The problem is that the Magit package on Melpa ("non-stable") depends on version 2.11.0 of Dash and that versions (i.e. snapshot) strings on Melpa have the form YYYYMMDD.SSSS, which is always larger than 2.MM.SS.

I'll fix that, but meanwhile you can just install the most recent Dash version explicitly.

| improve this answer | |
  • Works now after installing dash (M-x list-packages and then choosing dash). Tx! – Denis Oct 21 '15 at 14:43

Recent magit updates broke compatibility with older versions.

The easiest way to fix it is to remove it from your .emacs.d:

rm -rf ~/.emacs.d/elpa/magit*

Restart your Emacs and install Magit again and everything should be fine.

| improve this answer | |
  • Still not working. After re-installing Magit, the compile-log gives the following message: In toplevel form: magit-git.el:535:36:Error: Wrong type argument: sequencep, win In end of data: magit-mode.el:1086:1:Warning: the function -non-nil' is not known to be defined.` – Denis Oct 21 '15 at 12:54
  • Yes, that's not the issue here. – tarsius Oct 21 '15 at 14:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.