`post-command-hook` error reported with Emacs 27.1
Error in post-command-hook (beacon--post-command): (wrong-type-argument number-or-marker-p t)
Quit
same here with Emacs 27.1.
You probably set beacon-blink-when-point-moves-horizontally or beacon-blink-when-point-moves-vertically to a boolean. They are integers :warning:
You can reproduce this error message by configuring:
(beacon-blink-when-point-moves-horizontally t)
(beacon-blink-when-point-moves-vertically t)
Instead of integers:
(beacon-blink-when-point-moves-horizontally 10)
(beacon-blink-when-point-moves-vertically 5)
It takes some tracing to figure out the issue.
You won't get any feedback unless you used setopt. Sadly, the use-package :custom keyword did not save me from having to debug this.
The variable name really seems like a boolean, but it is definitely an integer.
@junwei-wang I can submit a PR to generate a warning that will at least let people know. I think the issue is just that the names are not obviously integer types.
How would you like to proceed?