summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorFederico Tedin <federicotedin@gmail.com>2019-12-24 17:38:19 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2019-12-24 17:40:15 +0100
commit7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9 (patch)
treee870880eba7be66662614f8e0efa7d13b208ba5f /etc
parent0d2a711dc9a65dc8eb6e995369e70cddbcd7d9a4 (diff)
downloademacs-7c5d6a2afc6c23a7fff8456f506ee2aa2d37a3b9.tar.gz
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.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
++++
+** 'read-number' now has its own history variable.
+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.
+
Local variables:
coding: utf-8