diff options
| author | Richard M. Stallman | 1994-08-10 04:08:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-10 04:08:26 +0000 |
| commit | 298a7c8c1c38d40652f4740eda7af6e72858c846 (patch) | |
| tree | eb650648f4031e1f7115be7299c7ccb70a1cd237 | |
| parent | 0691ced3c70e3dd8499ee51385c574db6867da41 (diff) | |
| download | emacs-298a7c8c1c38d40652f4740eda7af6e72858c846.tar.gz emacs-298a7c8c1c38d40652f4740eda7af6e72858c846.zip | |
(view-lossage): Handle buffers and frames in recent-keys.
| -rw-r--r-- | lisp/help.el | 9 |
1 files changed, 8 insertions, 1 deletions
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." | |||
| 287 | "Display last 100 input keystrokes." | 287 | "Display last 100 input keystrokes." |
| 288 | (interactive) | 288 | (interactive) |
| 289 | (with-output-to-temp-buffer "*Help*" | 289 | (with-output-to-temp-buffer "*Help*" |
| 290 | (princ (key-description (recent-keys))) | 290 | (princ (mapconcat (function (lambda (key) |
| 291 | (if (or (integerp key) | ||
| 292 | (symbolp key) | ||
| 293 | (listp key)) | ||
| 294 | (single-key-description key) | ||
| 295 | (prin1-to-string key nil)))) | ||
| 296 | (recent-keys) | ||
| 297 | " ")) | ||
| 291 | (save-excursion | 298 | (save-excursion |
| 292 | (set-buffer standard-output) | 299 | (set-buffer standard-output) |
| 293 | (goto-char (point-min)) | 300 | (goto-char (point-min)) |