diff options
author | Dmitry Gutov <dmitry@gutov.dev> | 2023-05-03 23:58:27 +0300 |
---|---|---|
committer | Dmitry Gutov <dmitry@gutov.dev> | 2023-05-03 23:58:27 +0300 |
commit | cc090294d77c5d4047607d3234c304aaa1b0489c (patch) | |
tree | 3b65b18f2095fa472ff2d6eabf7acf8139531fdd /lisp/nxml/rng-nxml.el | |
parent | 21ec6c1d5cc7b6e1858f21de62a593e25d205383 (diff) | |
download | emacs-cc090294d77c5d4047607d3234c304aaa1b0489c.tar.gz emacs-cc090294d77c5d4047607d3234c304aaa1b0489c.tar.bz2 emacs-cc090294d77c5d4047607d3234c304aaa1b0489c.zip |
(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.
Diffstat (limited to 'lisp/nxml/rng-nxml.el')
-rw-r--r-- | lisp/nxml/rng-nxml.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/nxml/rng-nxml.el b/lisp/nxml/rng-nxml.el index 568cf24451b..fd1f4fb904e 100644 --- a/lisp/nxml/rng-nxml.el +++ b/lisp/nxml/rng-nxml.el @@ -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 |