From: Richard M. Stallman Date: Wed, 10 Aug 1994 04:08:26 +0000 (+0000) Subject: (view-lossage): Handle buffers and frames in recent-keys. X-Git-Tag: emacs-19.34~7349 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=298a7c8c1c38d40652f4740eda7af6e72858c846;p=emacs.git (view-lossage): Handle buffers and frames in recent-keys. --- diff --git a/lisp/help.el b/lisp/help.el index c6585f0e41b..308574cca5c 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -287,7 +287,14 @@ of the key sequence that ran this command." "Display last 100 input keystrokes." (interactive) (with-output-to-temp-buffer "*Help*" - (princ (key-description (recent-keys))) + (princ (mapconcat (function (lambda (key) + (if (or (integerp key) + (symbolp key) + (listp key)) + (single-key-description key) + (prin1-to-string key nil)))) + (recent-keys) + " ")) (save-excursion (set-buffer standard-output) (goto-char (point-min))