branch: elpa/git-modes commit f0a0154bf48dd1c0c587596cf4cfd3c90f673a05 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
Use defvar-keymap --- gitattributes-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitattributes-mode.el b/gitattributes-mode.el index ecbfd7b3dc..34c8ce94d7 100644 --- a/gitattributes-mode.el +++ b/gitattributes-mode.el @@ -185,8 +185,8 @@ If ARG is omitted or nil, move point backward one field." (dotimes (_ (or arg 1)) (re-search-backward "\\s-[!-]?\\<" nil 'move)))) -(defvar gitattributes-mode-map (make-sparse-keymap) - "Keymap for `gitattributes-mode'.") +(defvar-keymap gitattributes-mode-map + :doc "Keymap for `gitattributes-mode'.") (easy-menu-define gitattributes-mode-menu gitattributes-mode-map