diff options
author | Daniel MartÃn <mardani29@yahoo.es> | 2020-12-14 17:16:00 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-12-14 17:16:00 +0100 |
commit | 0dd8d53344a822842660d2ac75108f40ba9ff0f4 (patch) | |
tree | 8407f41d59ccff3c02acf9d90f3776999b00aa6e /etc | |
parent | 10bc4eac5bb2e7e4b520628286a52f0508332119 (diff) | |
download | emacs-0dd8d53344a822842660d2ac75108f40ba9ff0f4.tar.gz |
Make goto-char offer the number at point as default
* lisp/subr.el (read-natnum-interactive): New function to read natural
numbers for interactive functions.
* src/editfns.c (Fgoto_char): Call read-natnum-interactive from the
interactive definition of goto-char to offer the number at point as
default. Also expand the docstring to document this new interactive
behavior.
* doc/emacs/basic.texi (Moving Point): Expand the Emacs manual to
document this new behavior.
* etc/NEWS: And announce it (bug#45199).
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -258,6 +258,10 @@ buffer to be able to move point to the inaccessible portion. 'goto-line-relative' is bound to 'C-x n g'. +++ +** When called interactively, 'goto-char' now offers the number at +point as default. + ++++ ** When 'suggest-key-bindings' is non-nil, the completion list of 'M-x' shows equivalent key bindings for all commands that have them. |