Skip to content

Commit c473ed3

Browse files
committed
fix: compile warnings in Emacs 30
1 parent c447813 commit c473ed3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lsp-ltex.el

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,45 +88,45 @@ https://github.com/valentjn/ltex-ls"
8888
:type 'string
8989
:group 'lsp-ltex)
9090

91-
(defcustom lsp-ltex-dictionary '()
91+
(defcustom lsp-ltex-dictionary nil
9292
"Lists of additional words that should not be counted as spelling errors."
9393
:type 'list
9494
:group 'lsp-ltex)
9595

96-
(defcustom lsp-ltex-disabled-rules '()
96+
(defcustom lsp-ltex-disabled-rules nil
9797
"Lists of rules that should be disabled (if enabled by default by
9898
LanguageTool)."
9999
:type 'list
100100
:group 'lsp-ltex)
101101

102-
(defcustom lsp-ltex-enabled-rules '()
102+
(defcustom lsp-ltex-enabled-rules nil
103103
"Lists of rules that should be enabled (if disabled by default by
104104
LanguageTool)."
105105
:type 'list
106106
:group 'lsp-ltex)
107107

108-
(defcustom lsp-ltex-hidden-false-positives '()
108+
(defcustom lsp-ltex-hidden-false-positives nil
109109
"Lists of false-positive diagnostics to hide."
110110
:type 'list
111111
:group 'lsp-ltex)
112112

113-
(defcustom lsp-ltex-bibtex-fields '()
113+
(defcustom lsp-ltex-bibtex-fields nil
114114
"List of BibTEX fields whose values are to be checked in BibTEX files."
115115
:type 'list
116116
:group 'lsp-ltex)
117117

118-
(defcustom lsp-ltex-latex-commands '()
118+
(defcustom lsp-ltex-latex-commands nil
119119
"List of LATEX commands to be handled by the LATEX parser, listed together
120120
with empty arguments."
121121
:type 'list
122122
:group 'lsp-ltex)
123123

124-
(defcustom lsp-ltex-latex-environments '()
124+
(defcustom lsp-ltex-latex-environments nil
125125
"List of names of LATEX environments to be handled by the LATEX parser."
126126
:type 'list
127127
:group 'lsp-ltex)
128128

129-
(defcustom lsp-ltex-markdown-nodes '()
129+
(defcustom lsp-ltex-markdown-nodes nil
130130
"List of Markdown node types to be handled by the Markdown parser."
131131
:type 'list
132132
:group 'lsp-ltex)

0 commit comments

Comments
 (0)