Skip to content

Conversation

@haselwarter
Copy link
Contributor

The last unless case of unicode-tokens-copy-configuration-variables tries to evaluate variables which may be undefined via symbol-value, which leads to an error. This commit adds a check to make sure the variables are only accessed if bound.

How this ever worked without errors I don't know...

The last `unless` case of `unicode-tokens-copy-configuration-variables` tries
to evaluate variables which may be undefined via `symbol-value`, which leads to
an error. This commit adds a check to make sure the variables are only accessed
if bound.
@Matafou
Copy link
Contributor

Matafou commented Sep 5, 2024

Hi. thanks for the PR. Sorry for the delay...

Do we really want this? If one uses unicode-tokens.el then isn't it mandatory to have token-symbol-map defined? If yes then failing looks good to me so that the user knows what is missing. If no then we should either do what this PR does, or decide to default to something else.

@cpitclaudel and @hendriktews what do you think?

@Matafou
Copy link
Contributor

Matafou commented Mar 28, 2025

Any idea about this?

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