Combine and reconcile two conflicting entries in NEWS on goto-line-history

* etc/NEWS: Amend.

* doc/lispref/minibuf.texi (Minibuffer History): Amend the entry about
goto-line-history, which is now buffer local only after being so customized.
This commit is contained in:
Alan Mackenzie 2021-02-28 21:15:34 +00:00
parent f8ab343eb9
commit 56a8559076
2 changed files with 9 additions and 11 deletions

View file

@ -701,8 +701,9 @@ A history list for numbers read by @code{read-number}.
@end defvar
@defvar goto-line-history
A history list for arguments to @code{goto-line}. This variable is
buffer local.
A history list for arguments to @code{goto-line}. This variable can
be made local in every buffer by customizing the user option
@code{goto-line-history-local}.
@end defvar
@c Less common: coding-system-history, input-method-history,

View file

@ -305,10 +305,12 @@ Additionally, the function now accepts a HIST argument which can be
used to specify a custom history variable.
+++
** Input history for 'goto-line' is now local to every buffer.
Each buffer will keep a separate history of line numbers used with
'goto-line'. This should help making faster the process of finding
line numbers that were previously jumped to.
** Input history for 'goto-line' can now be made local to every buffer.
In any event, line numbers used with 'goto-line' are kept in their own
history list. This should help make faster the process of finding
line numbers that were previously jumped to. By default, all buffers
share a single history list. To make every buffer have its own
history list, customize the user option 'goto-line-history-local'.
+++
** New command 'goto-line-relative' to use in a narrowed buffer.
@ -352,11 +354,6 @@ trying to be non-destructive.
This command opens a new buffer called "*Memory Report*" and gives a
summary of where Emacs is using memory currently.
+++
** The history list for the 'goto-line' command is now a single list
for all buffers by default. You can configure a separate list for
each buffer by customizing the user option 'goto-line-history-local'.
** Outline
+++