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 /lisp/emacs-lisp | |
parent | 10bc4eac5bb2e7e4b520628286a52f0508332119 (diff) | |
download | emacs-0dd8d53344a822842660d2ac75108f40ba9ff0f4.tar.gz emacs-0dd8d53344a822842660d2ac75108f40ba9ff0f4.tar.bz2 emacs-0dd8d53344a822842660d2ac75108f40ba9ff0f4.zip |
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 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions