Skip to content

Use with-locale-environment if defined else use current locale#892

Merged
rswgnu merged 1 commit intomasterfrom
pr_fix_dir_locales_for_emacs_28
Mar 9, 2026
Merged

Use with-locale-environment if defined else use current locale#892
rswgnu merged 1 commit intomasterfrom
pr_fix_dir_locales_for_emacs_28

Conversation

@matsl
Copy link
Collaborator

@matsl matsl commented Mar 8, 2026

What

Use with-locale-environment if defined else use current locale.

Why

For Emacs 28 with-locale-environment is not defined. For that
situation just use the current locale.

Note

This solution with setting the locale is admittedly not very solid
since it also depend on that the locale en_US.utf8 is defined. So
maybe another approach should be taken for getting the dates updated
in the proper locale.

This PR is, if nothing else, a quick fix for letting Emacs 28 with a
proper locale work fine for editing the Hyperbole texi manual.

@matsl matsl requested a review from rswgnu March 8, 2026 20:51
@rswgnu rswgnu merged commit d7637cd into master Mar 9, 2026
8 of 9 checks passed
@matsl matsl deleted the pr_fix_dir_locales_for_emacs_28 branch March 9, 2026 08:55
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