Skip to content

Commit 0821b45

Browse files
committed
Add "P" binding to refactoring map
1 parent e4ca05d commit 0821b45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clojure-mode.el

+2
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ The prefixes are used to generate the correct namespace."
261261
(define-key map (kbd "C--") #'clojure-toggle-ignore)
262262
(define-key map (kbd "_") #'clojure-toggle-ignore-surrounding-form)
263263
(define-key map (kbd "C-_") #'clojure-toggle-ignore-surrounding-form)
264+
(define-key map (kbd "P") #'clojure-promote-fn-literal)
265+
(define-key map (kbd "C-P") #'clojure-promote-fn-literal)
264266
map)
265267
"Keymap for Clojure refactoring commands.")
266268
(fset 'clojure-refactor-map clojure-refactor-map)

0 commit comments

Comments
 (0)