diff options
| author | Phil Sainty | 2015-10-30 12:05:33 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2015-10-30 12:05:33 +0200 |
| commit | 44470fed6f720792b2d91b907c52ce30559d03e7 (patch) | |
| tree | c8599492c301047d491137c484d53e703e447ba6 | |
| parent | b313a9d6a8a6d2728c69db6ee823b9f7bdd938ca (diff) | |
| download | emacs-44470fed6f720792b2d91b907c52ce30559d03e7.tar.gz emacs-44470fed6f720792b2d91b907c52ce30559d03e7.zip | |
Fix documentation of 'beginning/end-of-buffer'
* lisp/simple.el (beginning-of-buffer, end-of-buffer): Clarify
conditions under which the mark will be pushed at the previous
position. (Bug#21748)
| -rw-r--r-- | lisp/simple.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 338a0600829..1f2f4fe0444 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -905,8 +905,8 @@ With numeric arg N, put point N/10 of the way from the beginning. | |||
| 905 | If the buffer is narrowed, this command uses the beginning of the | 905 | If the buffer is narrowed, this command uses the beginning of the |
| 906 | accessible part of the buffer. | 906 | accessible part of the buffer. |
| 907 | 907 | ||
| 908 | If Transient Mark mode is disabled, leave mark at previous | 908 | Push mark at previous position, unless either a \\[universal-argument] prefix |
| 909 | position, unless a \\[universal-argument] prefix is supplied." | 909 | is supplied, or Transient Mark mode is enabled and the mark is active." |
| 910 | (declare (interactive-only "use `(goto-char (point-min))' instead.")) | 910 | (declare (interactive-only "use `(goto-char (point-min))' instead.")) |
| 911 | (interactive "^P") | 911 | (interactive "^P") |
| 912 | (or (consp arg) | 912 | (or (consp arg) |
| @@ -929,8 +929,8 @@ With numeric arg N, put point N/10 of the way from the end. | |||
| 929 | If the buffer is narrowed, this command uses the end of the | 929 | If the buffer is narrowed, this command uses the end of the |
| 930 | accessible part of the buffer. | 930 | accessible part of the buffer. |
| 931 | 931 | ||
| 932 | If Transient Mark mode is disabled, leave mark at previous | 932 | Push mark at previous position, unless either a \\[universal-argument] prefix |
| 933 | position, unless a \\[universal-argument] prefix is supplied." | 933 | is supplied, or Transient Mark mode is enabled and the mark is active." |
| 934 | (declare (interactive-only "use `(goto-char (point-max))' instead.")) | 934 | (declare (interactive-only "use `(goto-char (point-max))' instead.")) |
| 935 | (interactive "^P") | 935 | (interactive "^P") |
| 936 | (or (consp arg) (region-active-p) (push-mark)) | 936 | (or (consp arg) (region-active-p) (push-mark)) |