summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2020-12-31 16:04:32 +0000
committerJoão Távora <joaotavora@gmail.com>2020-12-31 16:04:42 +0000
commit66709725622e032f38fbd9cffbf09bb0781de90e (patch)
treecc8af5253d8dcef7874e93de37581119f599c4ea /lisp
parent03608312aee9990fb856ea5f865e3e918050ad21 (diff)
downloademacs-66709725622e032f38fbd9cffbf09bb0781de90e.tar.gz
emacs-66709725622e032f38fbd9cffbf09bb0781de90e.tar.bz2
emacs-66709725622e032f38fbd9cffbf09bb0781de90e.zip
Fix type declaration of two Flymake customization variables
* lisp/progmodes/flymake.el (flymake-mode-line-format) (flymake-mode-line-counter-format): Fix type declaration.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/flymake.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 8d1797fe3ce..cdee2391642 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1191,7 +1191,7 @@ default) no filter is applied."
flymake-mode-line-counters)
"Mode line construct for customizing Flymake information."
:group 'flymake
- :type '(list string symbol))
+ :type '(repeat (choice string symbol)))
(defcustom flymake-mode-line-counter-format
'("["
@@ -1203,7 +1203,7 @@ This is a suitable place for placing the `flymake-error-counter',
`flymake-warning-counter' and `flymake-note-counter' constructs.
Separating each of these with space is not necessary."
:group 'flymake
- :type '(list string symbol))
+ :type '(repeat (choice string symbol)))
(defvar flymake-mode-line-title '(:eval (flymake--mode-line-title))
"Mode-line construct to show Flymake's mode name and menu.")