abo-abo / ace-window

Quickly switch windows in Emacs
965 stars 85 forks source link

`aw-leading-char-style`: Customization type mismatch #207

Open joostkremers opened 3 years ago

joostkremers commented 3 years ago

Just a small issue, but still: In the defcustom for aw-leading-char-style, the values in the :type definition should not be quoted:

(defcustom aw-leading-char-style 'char
  "Style of the leading char overlay."
  :type '(choice
          (const :tag "single char" char)
          (const :tag "full path" path)))

The way it is now, the customization buffer reports a mismatch and the option can only be edited as an s-expression:

https://github.com/abo-abo/ace-window/blob/c7cb315c14e36fded5ac4096e158497ae974bec9/ace-window.el#L120-L121