Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion helpful.el
Original file line number Diff line number Diff line change
Expand Up @@ -2570,7 +2570,9 @@ For example, \"(some-func FOO &optional BAR)\"."
(cond
((symbolp sym)
(help-function-arglist sym))
((byte-code-function-p sym)
((or (byte-code-function-p sym)
(if (fboundp 'interpreted-function-p)
(interpreted-function-p sym)))
;; argdesc can be a list of arguments or an integer
;; encoding the min/max number of arguments. See
;; Byte-Code Function Objects in the elisp manual.
Expand Down
4 changes: 3 additions & 1 deletion test/helpful-unit-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,9 @@ associated a lambda with a keybinding."
(should
(equal
(length (helpful--keymaps-containing #'helpful--dummy-command))
2))
(if (< emacs-major-version 30)
2
3)))

;; Undo keybinding.
(global-set-key (kbd "C-c M-S-c") nil)
Expand Down