Skip to content

Do not quote symbols inside defcustom :type spec.#221

Open
joostkremers wants to merge 1 commit into
abo-abo:masterfrom
joostkremers:patch-1
Open

Do not quote symbols inside defcustom :type spec.#221
joostkremers wants to merge 1 commit into
abo-abo:masterfrom
joostkremers:patch-1

Conversation

@joostkremers

Copy link
Copy Markdown

If the :type spec of a defcustom is complex, it is quoted and therefore symbols inside it do not have to be quoted themselves. If they are, the Customize buffer will display a (mismatch) error.

If the `:type` spec of a `defcustom` is complex, it is quoted and therefore symbols inside it do not have to be quoted themselves. If they are, the Customize buffer will display a `(mismatch)` error.
@sellout

sellout commented Feb 28, 2023

Copy link
Copy Markdown

This fixes #207.

@shipmints

Copy link
Copy Markdown

Would be nice to see this adopted in the code base. As setopt is available as of Emacs 29.1 and it becomes more widely recommended and people switch from setq, this will bite them.

@Thaodan

Thaodan commented Feb 28, 2026

Copy link
Copy Markdown

I found a few more after merging your changes into my branch.
Feel free to cherry pick:
Thaodan@1aaffda

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.

4 participants