today, using magit, I've started getting the following error message when I hit c to commit :

Terminal is dumb, but EDITOR unset

In the *Messages* buffer, I also get:

magit-run-git-with-editor: Invalid function: with-editor*

Of course, I have the with-editor package installed and up-to-date... Any idea ? Thanks !

1 Answer 1


You need to update with-editor and magit (likely in that order). Then restart Emacs. If it still doesn't work then, then uninstall both packages and reinstall magit (which also installs with-editor). There was a bug, that potentially leaks into byte-code generated while the broken version is already loaded.

  • Can here twice... I didn't read the full text the first time. For me, installing via el-get, I had to do the remove and then reinstall.
    – pedz
    Commented Jan 14, 2019 at 21:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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