Skip to content

customization warning #88

@jsirex

Description

@jsirex
(setopt switch-window-shortcut-appearance 'text)
⛔ Warning (emacs): Value ‘text’ for variable ‘switch-window-shortcut-appearance’ does not match its type "(choice (const :tag Show shortcut with text 'text) (const :tag Show shortcut with Ascii art. 'asciiart) (const :tag Show shortcut with image. 'image))"

emacs 31.

I looked into another code and see, that in defcustom macro no quotation.

(defcustom switch-window-shortcut-appearance 'text
  "Switch-window shortcut's appearance."
  :type '(choice (const :tag "Show shortcut with text" text)
                 (const :tag "Show shortcut with Ascii art." asciiart)
                 (const :tag "Show shortcut with image." image))
  :group 'switch-window)

I think in choices section should be unquoted options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions