Skip to content

Commit 73ad089

Browse files
committed
fix: Compile warnings
1 parent 620bbd7 commit 73ad089

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lsp-protocol.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ Example usage with `dash`.
115115
(if (special-variable-p key-sym)
116116
`((,key ,(intern (format "%s_" (symbol-name key-sym)))))
117117
key-sym)))
118-
params)
118+
params)
119119
&allow-other-keys)
120+
(ignore ,@(-map (-lambda ((key))
121+
(intern (substring (symbol-name key) 1))) params))
120122
,(format "Constructs %s from `plist.'
121123
Allowed params: %s" interface (reverse (-map #'cl-first params)))
122124
(ignore ,@(-map (-lambda ((key))

0 commit comments

Comments
 (0)