diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-05 21:35:56 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-05 21:35:56 +0200 |
commit | bb9c899b07a6a7de3a04b65caa55f11fdc36908c (patch) | |
tree | 100e232f228c2069f50f3107d6661a38e6a8932c /doc/emacs | |
parent | 8c00e21df220b7391ae2f86867419a882e4f1ce1 (diff) | |
download | emacs-bb9c899b07a6a7de3a04b65caa55f11fdc36908c.tar.gz emacs-bb9c899b07a6a7de3a04b65caa55f11fdc36908c.tar.bz2 emacs-bb9c899b07a6a7de3a04b65caa55f11fdc36908c.zip |
Make the goal column work for the scrolling commands, too
* doc/emacs/basic.texi (Moving Point): Document it.
* lisp/simple.el (set-goal-column): Update doc string.
* lisp/window.el (scroll-up-command, scroll-down-command): Make
the goal column take effect for these commands, too (bug#17346).
Diffstat (limited to 'doc/emacs')
-rw-r--r-- | doc/emacs/basic.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index b93a6d5de6e..1a4abdc9ecd 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi @@ -347,11 +347,11 @@ move to the column number specified by the argument's numeric value. @kindex C-x C-n @findex set-goal-column Use the current column of point as the @dfn{semipermanent goal column} -for @kbd{C-n} and @kbd{C-p} (@code{set-goal-column}) in the current -buffer. When a semipermanent goal column is in effect, those commands -always try to move to this column, or as close as possible to it, -after moving vertically. The goal column remains in effect until -canceled. +(@code{set-goal-column}) in the current buffer. When a semipermanent +goal column is in effect, @kbd{C-n}, @kbd{C-p}, @kbd{<prior>} and +@kbd{<next>} always try to move to this column, or as close as +possible to it, after moving vertically. The goal column remains in +effect until canceled. @item C-u C-x C-n Cancel the goal column. Henceforth, @kbd{C-n} and @kbd{C-p} try to |