Skip to content

Commit

Permalink
Display cheatsheet in a buffer by default
Browse files Browse the repository at this point in the history
  • Loading branch information
katomuso authored and bbatsov committed May 27, 2024
1 parent a088898 commit 26c2713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cider-cheatsheet.el
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ The list can hold one or more lists inside - one per each namespace."
(cider-doc-lookup (completing-read "Select var: " namespaced-vars))))

;;;###autoload
(defun cider-cheatsheet ()
(defun cider-cheatsheet-select ()
"Navigate `cider-cheatsheet-hierarchy' with `completing-read'.
When you make it to a Clojure var its doc buffer gets displayed."
Expand Down Expand Up @@ -592,7 +592,7 @@ When you make it to a Clojure var its doc buffer gets displayed."
(buffer-string)))

;;;###autoload
(defun cider-cheatsheet-buffer ()
(defun cider-cheatsheet ()
"Display cheatsheet in a popup buffer."
(interactive)
(with-current-buffer (cider-popup-buffer "*cider-cheatsheet*")
Expand Down

0 comments on commit 26c2713

Please sign in to comment.