Skip to content

Commit

Permalink
Add `disassemble' command
Browse files Browse the repository at this point in the history
  • Loading branch information
nbfalcon committed Mar 12, 2021
1 parent d9d8169 commit b6b64e1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion helpful.el
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,12 @@ buffer."
(goto-char pos)))
(pop-to-buffer buf)))

(defun helpful-disassemble ()
"Disassemble the current symbol."
(interactive)
(helpful--ensure)
(disassemble helpful--sym))

(defun helpful-toggle-edebug ()
"Toggle edebug for the current symbol."
(interactive)
Expand Down Expand Up @@ -2926,7 +2932,8 @@ See also `helpful-max-buffers'."
(define-key (kbd "C-c e") #'helpful-toggle-edebug)
(define-key (kbd "C-c t") #'helpful-toggle-tracing)
(define-key (kbd "C-c =") #'helpful-set-value)
(define-key (kbd "C-c c") #'helpful-customize))
(define-key (kbd "C-c c") #'helpful-customize)
(define-key (kbd "C-c d") #'helpful-disassemble))
"Keymap for `helpful-mode'.")

(declare-function bookmark-prop-get "bookmark" (bookmark prop))
Expand Down

0 comments on commit b6b64e1

Please sign in to comment.