Skip to content

Use font-lock symbols directly instead of fetching from variables #32

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

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

Hi-Angel
Copy link
Member

The variables are obsolete in Emacs 31.1+ because they introduce confusion (see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71469 for details).

Fixes:

purescript-font-lock.el:374:19: Error: ‘font-lock-string-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-string-face
purescript-font-lock.el:411:5: Error: ‘font-lock-doc-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-doc-face
purescript-font-lock.el:412:7: Error: ‘font-lock-comment-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-comment-face

The variables are obsolete in Emacs 31.1+ because they introduce
confusion (see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71469 for
details).

Fixes:

    purescript-font-lock.el:374:19: Error: ‘font-lock-string-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-string-face
    purescript-font-lock.el:411:5: Error: ‘font-lock-doc-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-doc-face
    purescript-font-lock.el:412:7: Error: ‘font-lock-comment-face’ is an obsolete variable (as of 31.1); use the quoted symbol instead: 'font-lock-comment-face
@purcell purcell merged commit e0de552 into purescript-emacs:master Feb 4, 2025
10 checks passed
@purcell
Copy link
Member

purcell commented Feb 4, 2025

Thanks

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

Successfully merging this pull request may close these issues.

2 participants