esup icon indicating copy to clipboard operation
esup copied to clipboard

esup mistaking ;;; file ends here, as variable, void variable "here"

Open Inc0n opened this issue 4 years ago • 3 comments

I uses flycheck as a result, it reminds me to add ;;; file.el ends here at the end of every file. And esup think that "here" is a variable and throw the following error:

(void-variable here)

I'm using emacs 27.1

Inc0n avatar Mar 25 '21 14:03 Inc0n

Weirdly enough, it only complains on certain files, such as my init-javascript, init-css, init-lua-mode, init-transient, and a few others. And some other files, it's fine with the footer...

Inc0n avatar Mar 25 '21 14:03 Inc0n

I think I have bumped into the same problem as you. I found that ESUP was choking on the comment at the top of my recentf file. When I changed the save location to .recentf.el, it handled the comment correctly. Are the files you are having trouble with ending in .el?

carlf avatar Oct 14 '21 08:10 carlf

Yeah, the files in questions are all in .el, however, most emacs lisp configuration files have this file extension...

Inc0n avatar Oct 15 '21 18:10 Inc0n