2

I get this message after updating packages. How can I fix it?

I load my file, then press C-g, and it shows Recent commits. After pressing any usual key, I get the message with the error, and magit appears to be broken.

I found out about M-x magit-emacs-Q-command https://magit.vc/manual/magit/Debugging-Tools.html

Now I get debugger

Debugger entered--Lisp error: (void-variable $) apply(debug (error (void-variable $))) transient--exit-and-debug(error (void-variable $)) transient--make-transient-map() transient--init-keymaps() transient--init-transient(magit-log nil nil) #f(compiled-function () #<bytecode -0x1b4fe43808649e57>)() transient--env-apply(#f(compiled-function () #<bytecode -0x1b4fe43808649e57>) #<magit-log-prefix magit-log-prefix-100a1717a0ba>) transient-setup(magit-log) magit-log() funcall-interactively(magit-log) call-interactively(magit-log nil nil) command-execute(magit-log) 

Strange...

It appears that removing transient.elc has fixed the problem.

The folder of the *.elc file was: ~/.emacs.d/elpa/transient-20251020.1535/

1 Answer 1

2

It appears that removing transient.elc has fixed the problem.

The folder of the *.elc file was: ~/.emacs.d/elpa/transient-20251020.1535/

5
  • 1
    This worked for me as well Commented Oct 23 at 19:26
  • Shouldn't this be reported to github.com/magit/transient/issues? Commented Oct 24 at 23:23
  • Hmm, I did not think about it. I will see it I can do it now. Commented Oct 25 at 21:17
  • 1
    Added the report, but it may need improving github.com/magit/transient/issues/415 Commented Oct 25 at 21:21
  • @tarsius closed it as a duplicate of github.com/magit/magit/issues/5460 where more details can be found. Commented Oct 27 at 21:56

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.