Font lock broken when opening a clojure file from the CLI
JJackaman opened this issue · 1 comments
JJackaman commented
Broken font locking (some things that should be highlighted aren't).
Happens when passing a clojure file as an argument to the emacs command as in emacs somedir/somefile.clj.
*Messages* reports:
Error during redisplay: (jit-lock-function 502) signaled (void-function end-of-thing)
Font locking works as expected if emacs is opened first and the clojure file is visited from within Emacs.
Steps to reproduce the problem
Using console emacs (don't have GUI emacs) do: emacs file.clj
Environment & Version information
Emacs 27.1/linux
Clojure-mode (master/melpa)
bbatsov commented
Hmm, that's weird. I can't imagine why it'd behave differently if you try to open the file directly, but I guess there's some reason that we need to figure out.