(rng-complete-tag): Add the (ignored) argument to the :company-kind function
* lisp/nxml/rng-nxml.el (rng-complete-tag): Add the (ignored) argument to the :company-kind function. Fixes the "Wrong number of arguments" error reported at https://github.com/company-mode/company-mode/issues/1386.
This commit is contained in:
parent
21ec6c1d5c
commit
cc090294d7
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ Validation will be enabled if `rng-nxml-auto-validate-flag' is non-nil."
|
|||
(insert " "))))
|
||||
((member completion extra-strings)
|
||||
(insert ">"))))
|
||||
:company-kind ,(lambda () 'property))))))
|
||||
:company-kind ,(lambda (_) 'property))))))
|
||||
|
||||
(defconst rng-in-end-tag-name-regex
|
||||
(replace-regexp-in-string
|
||||
|
|
Loading…
Add table
Reference in a new issue