Skip to content

Fix custom variable check for use-package :custom blocks. - #17

Merged
anticomputer merged 1 commit into
mainfrom
fix_epg_use_package
Feb 28, 2025
Merged

Fix custom variable check for use-package :custom blocks.#17
anticomputer merged 1 commit into
mainfrom
fix_epg_use_package

Conversation

@anticomputer

Copy link
Copy Markdown
Owner

Related to: jwiegley/use-package#1002

Use-package :custom blocks end up as theme-value symbol properties. Since our code is forked from epg, we inherited its symbol property checks that don't account for use-package's theme-value property on :custom variables.

This can introduce cache confusion and result in the incorrect binary being invoked on systems that contain e.g. both rage and age binaries due to program alist ordering.

The user's custom value should always take precedent over any auto configuration.

Related to: jwiegley/use-package#1002

Use-package :custom blocks end up as theme-value symbol properties.
Since our code is forked from epg, we inherited its symbol property
checks that don't account for use-package's theme-value property
on :custom variables.

This can introduce cache confusion and result in the incorrect
binary being invoked on systems that contain e.g. both rage and
age binaries due to program alist ordering.

The user's custom value should always take precedent over any
auto configuration.
@anticomputer
anticomputer merged commit 05ad633 into main Feb 28, 2025
@anticomputer
anticomputer deleted the fix_epg_use_package branch February 28, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant