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

Enhancement: add ability to patch variables defined in C code #68

Open
hab25 opened this issue Dec 17, 2023 · 2 comments
Open

Enhancement: add ability to patch variables defined in C code #68

hab25 opened this issue Dec 17, 2023 · 2 comments

Comments

@hab25
Copy link

hab25 commented Dec 17, 2023

Use case:

I want to customize the global value of mode-line-format while being made aware if the default value changes because that might bring improvements I can use in my customized value, or it may catch an error if the "type" of the variable changes.

@hab25
Copy link
Author

hab25 commented Dec 17, 2023

Note that mode-line-format has a standard-value symbol property that can be looked at with custom--standard-value. Perhaps this can be used by such an enhancement (however, then the enhancement would be restricted to variables with the standard-value symbol property).

@raxod502
Copy link
Member

It would be a bit awkward, but I suppose there is no reason we could not do this with a small amount of extra effort, and I do see why it would be useful. Thanks for the suggestion.

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

No branches or pull requests

2 participants