xref-find-by-kind e6cf00c585c: Use 'n' for cl-defstruct constructor kind
Dmitry Gutov <[email protected]>
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: xref-find-by-kind commit e6cf00c585ca99e557900e08da6d2d283ffcffa0 Author: Dmitry Gutov <[email protected]> Commit: Dmitry Gutov <[email protected]> Use 'n' for cl-defstruct constructor kind * lisp/progmodes/elisp-mode.el (xref-backend-xref-kinds): Use 'n' for constructor kind. --- lisp/progmodes/elisp-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index d7e0443efae..0b44d228991 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -1670,7 +1670,7 @@ namespace but with lower confidence." (:kind defvar :name "variable" :key ?v) (:kind cl-defgeneric :name "generic function" :key ?g) (:kind cl-defmethod :name "generic method" :key ?m) - (:kind define-type :name "constructor" :key ?o) + (:kind define-type :name "constructor" :key ?n) (:kind defalias :name "function alias" :key ?a) (:kind defface :name "face" :key ?c) (:kind feature :name "feature" :key ?e)))