Skip to content

Commit 83b72bb

Browse files
authored
Merge pull request #359 from dgtized/include-keybindings-in-mode-help
Add documentation macro to minor mode for keybindings
2 parents 7199d27 + dd8fccf commit 83b72bb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

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

33
## Up next
44

5+
- Display keymap bindings in documentation for minor mode
56
- New config setting `cljr-libspec-whitelist` to prevent libspecs which appear unused but are side-effecting at load from being pruned.
67
- [#301] (https://github.com/clojure-emacs/clj-refactor.el/issues/301) `ad` has gained a prefix to declare the symbol under the cursor.
78
- [#312](https://github.com/clojure-emacs/clj-refactor.el/issues/312) Allow `sut` alias to be customized.

clj-refactor.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3985,7 +3985,9 @@ If injecting the dependencies is not preferred set `cljr-inject-dependencies-at-
39853985
;; ------ minor mode -----------
39863986
;;;###autoload
39873987
(define-minor-mode clj-refactor-mode
3988-
"A mode to keep the clj-refactor keybindings."
3988+
"A mode to keep the clj-refactor keybindings.
3989+
3990+
\\{clj-refactor-map}"
39893991
nil " cljr" clj-refactor-map
39903992
(if clj-refactor-mode
39913993
(add-hook 'post-command-hook #'cljr--post-command-hook :append :local)

0 commit comments

Comments
 (0)