Skip to content

Fix how variables are set in site startup file#22681

Merged
AndWac merged 1 commit into
OpenIndiana:oi/hipsterfrom
nealsid:emacs-set-variable-fix
Jul 8, 2025
Merged

Fix how variables are set in site startup file#22681
AndWac merged 1 commit into
OpenIndiana:oi/hipsterfrom
nealsid:emacs-set-variable-fix

Conversation

@nealsid

@nealsid nealsid commented Jul 8, 2025

Copy link
Copy Markdown
Contributor
  • Man-sed-program should be Man-sed-command (unfortunately in my testing of the previous commit, my .emacs set Man-sed-command so I didn't catch that site-startup.el was setting the wrong variable. I tested this change with emacs -q)
  • Use setopt instead of set-variable to take into account that they are variables declared with defcustom - this did not cause any breakage but is considered better style because setopt runs setters for custom variables when they are set.

- Man-sed-program should be Man-sed-command
- Use setopt instead of set-variable to take into account that they are variables declared with defcustom
@nealsid nealsid force-pushed the emacs-set-variable-fix branch from 8dc9615 to d584e6f Compare July 8, 2025 03:42
@AndWac AndWac merged commit 1c815f8 into OpenIndiana:oi/hipster Jul 8, 2025
1 check passed
@nealsid nealsid deleted the emacs-set-variable-fix branch July 8, 2025 18:08
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