Skip to content

Font lock broken when opening a clojure file from the CLI #580

Open
@JJackaman

Description

@JJackaman

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions