Skip to content

Commit

Permalink
fix(emacs): allow editing settings using customize-variable
Browse files Browse the repository at this point in the history
The Flymake plugin declares the types of its customizable variables
incorrectly. This causes the variables to be uneditable using
customize-variable.

Fix the types so customize-variable works.
  • Loading branch information
strager committed Oct 18, 2023
1 parent c3d9db8 commit 1c0506d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/emacs/flymake-quicklintjs.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
(defcustom flymake-quicklintjs-program "quick-lint-js"
"Path to quick-lint-js program to run."
:group 'flymake-quicklintjs
:type 'stringp)
:type '(file :must-match t))

(defcustom flymake-quicklintjs-args nil
"Arguments to quick-lint-js."
:group 'flymake-quicklintjs
:type '(repeat 'string))
:type '(repeat string))

(defvar-local flymake-quicklintjs--proc nil
"Internal variable for `flymake-quicklintjs'")
Expand Down

0 comments on commit 1c0506d

Please sign in to comment.