Skip to content

Commit ce9b99a

Browse files
committed
fix(comments): drop keymap and key-parse completely
1 parent d2bc7be commit ce9b99a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

conventional-comments.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
;;; Code:
77

8-
(require 'keymap)
98
(require 'newcomment)
109
(require 'conventional-custom)
1110

@@ -139,7 +138,7 @@ Argument COMMENT-STRING represents one or more characters beginning a comment."
139138
(let ((map (current-local-map)))
140139
(unless map
141140
(use-local-map (setq map (make-sparse-keymap))))
142-
(define-key map (key-parse "C-;") #'conventional-comments--ask-type))
141+
(define-key map "C-;" #'conventional-comments--ask-type))
143142
(conventional-comments-syntax--check)
144143
(conventional-comments-set-syntax comment-start))
145144

0 commit comments

Comments
 (0)