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

Resolves #8 Set face font to 'unspecified when 'default face is 'unspecified #7

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

j-shilling
Copy link
Contributor

@j-shilling j-shilling commented Sep 29, 2021

#When running emacs with the -nw flag, (face-attribute 'default :font) evaluates to 'undefined, which was causing an error when passed to #'font-get. Ultimate this prevented the file from being loaded when running emacs in a terminal.

This change fixes that problem by ensuring that (font-get font :name) is only called when font is not 'undefined.

I also submitted an issue for this: #8

@j-shilling j-shilling changed the title Set face font to 'unspecified when 'default face is 'unspecified Resolves #8 Set face font to 'unspecified when 'default face is 'unspecified Sep 29, 2021
@countvajhula countvajhula merged commit da39e7a into countvajhula:master Sep 29, 2021
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.

None yet

2 participants