summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2018-02-24 13:15:42 +0200
committerEli Zaretskii <eliz@gnu.org>2018-02-24 13:15:42 +0200
commit8a23dc15077c6bbe3d80ccfcef64397e71f5765d (patch)
treec323f106e83881c8160d3f77cb2565d1dbc8e669
parent15863145cb8468b18b620d9dd82f90eaf4775d25 (diff)
downloademacs-8a23dc15077c6bbe3d80ccfcef64397e71f5765d.tar.gz
Describe 'view-lossage' changes in its docstring and NEWS
* lisp/help.el (view-lossage): Mention that this now uses the same format as `edit-last-kbd-macro'. (Bug#30560) * etc/NEWS: Improve the wording of the entry.
-rw-r--r--etc/NEWS12
-rw-r--r--lisp/help.el2
2 files changed, 9 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index dacaf023bb1..596adf88ae5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -167,11 +167,13 @@ directories in the destination.
** Help
-*** 'C-h l' (view-lossage) now displays last keystrokes and commands
-in the same format as the edit buffer of edit-last-kbd-macro.
-This makes possible to copy the lines from the buffer generated
-by 'view-lossage', yank them to the buffer "*Edit Macro*" created by
-'edit-last-kbd-macro', and save the macro by 'C-c C-c'.
+---
+*** Output format of 'C-h l' (view-lossage) has changed.
+For convenience, 'view-lossage' now displays the last keystrokes
+and commands in the same format as the edit buffer of
+'edit-last-kbd-macro'. This makes it possible to copy the lines from
+the buffer generated by 'view-lossage' to the "*Edit Macro*" buffer
+created by 'edit-last-kbd-macro', and to save the macro by 'C-c C-c'.
** Ibuffer
diff --git a/lisp/help.el b/lisp/help.el
index 9575f5b090c..dcf1f32069b 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -455,6 +455,8 @@ is specified by the variable `message-log-max'."
(defun view-lossage ()
"Display last few input keystrokes and the commands run.
+For convenience this uses the same format as
+`edit-last-kbd-macro'.
To record all your input, use `open-dribble-file'."
(interactive)