]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix byte-code button in help--describe-command
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 15 Mar 2022 11:44:50 +0000 (12:44 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 15 Mar 2022 11:44:50 +0000 (12:44 +0100)
* lisp/help.el (help--describe-command): Fix byte-code button
(bug#24235).

lisp/help.el

index d60b5867792d543f55006d39b3e6b1cfa683b5f0..f1a617f85004b9757fd281ff52ba29708f3e4396 100644 (file)
@@ -1388,7 +1388,8 @@ Return nil if the key sequence is too long."
         ((keymapp definition)
          (insert "Prefix Command\n"))
         ((byte-code-function-p definition)
-         (insert "[%s]\n" (buttonize "byte-code" #'disassemble definition)))
+         (insert (format "[%s]\n"
+                         (buttonize "byte-code" #'disassemble definition))))
         ((and (consp definition)
               (memq (car definition) '(closure lambda)))
          (insert (format "[%s]\n"