\f
* Changes in Emacs 28.1
-+++
-** The new command 'lossage-size' allow users to set the maximum
-number of keystrokes and commands recorded.
-
+++
*** Emacs now defaults to UTF-8 instead of ISO-8859-1.
This is only for the default, where the user has set no 'LANG' (or
+++
*** New command 'describe-keymap' describes keybindings in a keymap.
++++
+** New command 'lossage-size'.
+It allows users to set the maximum number of keystrokes and commands
+recorded for the purpose of 'view-lossage'.
+
---
*** The command 'view-lossage' can now be invoked from the menu bar.
The menu-bar Help menu now has a "Show Recent Inputs" item under the
}
#endif
-#ifdef USE_FILE_NOTIFY
+#ifdef USE_FILE_NO101TIFY
case FILE_NOTIFY_EVENT:
#ifdef HAVE_W32NOTIFY
/* Make an event (file-notify (DESCRIPTOR ACTION FILE) CALLBACK). */
? Qt : Qnil);
}
-/* Reallocate recent_keys copying the keystrokes in the right order */
+/* Reallocate recent_keys copying the recorded keystrokes
+ in the right order. */
static void
update_recent_keys (int new_size, int kept_keys)
{
DEFUN ("lossage-size", Flossage_size, Slossage_size, 0, 1,
"(list (read-number \"new-size: \" (lossage-size)))",
- doc: /* Return the maximum number of saved keystrokes.
-Called with ARG, then set this limit to ARG and return it.
+ doc: /* Return or set the maximum number of keystrokes to save.
+If called with a non-nil ARG, set the limit to ARG and return it.
-The saved keystrokes are the records shown by `view-lossage'. */)
+The saved keystrokes are shown by `view-lossage'. */)
(Lisp_Object arg)
{
if (NILP(arg))