aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorFederico Tedin2019-12-24 17:38:19 +0100
committerLars Ingebrigtsen2019-12-24 17:40:15 +0100
commit7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9 (patch)
treee870880eba7be66662614f8e0efa7d13b208ba5f /etc
parent0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4 (diff)
downloademacs-7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9.tar.gz
emacs-7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9.zip
Make goto-line keep a separate input history per buffer
* lisp/simple.el (goto-line-history): New history variable. (goto-line): Use new (buffer-local) variable as input history (Bug#38282). * lisp/subr.el (read-number-history): New history variable. (read-number): Use the new variable as default input history. * doc/lispref/minibuf.texi (Minibuffer History): Document read-number-history and goto-line-history variables. * etc/NEWS: Announce changes.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9b60fc49538..dd339507c77 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -65,6 +65,17 @@ GNU General Public License for more details.
65You should have received a copy of the GNU General Public License 65You should have received a copy of the GNU General Public License
66along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. 66along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
67 67
68+++
69** 'read-number' now has its own history variable.
70Additionally, the function now accepts a HIST argument which can be
71used to specify a custom history variable.
72
73+++
74** Input history for 'goto-line' is now local to every buffer.
75Each buffer will keep a separate history of line numbers used with
76'goto-line'. This should help making faster the process of finding
77line numbers that were previously jumped to.
78
68 79
69Local variables: 80Local variables:
70coding: utf-8 81coding: utf-8