Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Inc0n opened this issue Mar 25, 2021 · 3 comments
Open

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

Inc0n opened this issue Mar 25, 2021 · 3 comments

Comments

@Inc0n
Copy link

Inc0n commented Mar 25, 2021

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 Inc0n changed the title esup mistaking ;; file ends here, as variable, void variable "here" esup mistaking ;;; file ends here, as variable, void variable "here" Mar 25, 2021
@Inc0n
Copy link
Author

Inc0n commented Mar 25, 2021

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...

@carlf
Copy link

carlf commented Oct 14, 2021

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?

@Inc0n
Copy link
Author

Inc0n commented Oct 15, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants