diff options
| author | Paul Eggert | 2020-01-22 11:03:22 -0800 |
|---|---|---|
| committer | Paul Eggert | 2020-01-22 11:03:59 -0800 |
| commit | d02f2a793e8ee974198f88d966c4a87df3fba104 (patch) | |
| tree | c80c23847fcd311bdf7d6d0c91931452dfdbeb4b /lisp | |
| parent | 196c42b8bf9cc9ce804aab38198391e9bff126e5 (diff) | |
| download | emacs-d02f2a793e8ee974198f88d966c4a87df3fba104.tar.gz emacs-d02f2a793e8ee974198f88d966c4a87df3fba104.zip | |
* lisp/simple.el: Minor fixes to commentary.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/simple.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 9a2586d244c..3546bef600d 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -3502,10 +3502,9 @@ whose `car' is BUFFER." | |||
| 3502 | (let ((win (car (get-buffer-window-list buf))) | 3502 | (let ((win (car (get-buffer-window-list buf))) |
| 3503 | (pmax (with-current-buffer buf (point-max)))) | 3503 | (pmax (with-current-buffer buf (point-max)))) |
| 3504 | 3504 | ||
| 3505 | ;; The first time we run a command in a fresh created buffer | 3505 | ;; The first time we run a command in a freshly created buffer |
| 3506 | ;; we have not saved positions yet; advance to `point-max', so that | 3506 | ;; we have not saved positions yet; advance to `point-max', so that |
| 3507 | ;; succesive commands knows the position where the new comman start. | 3507 | ;; successive commands know where to start. |
| 3508 | ;; (unless (and pos (memq sym '(save-point beg-last-out))) | ||
| 3509 | (unless (and pos (memq sym '(save-point beg-last-out end-last-out))) | 3508 | (unless (and pos (memq sym '(save-point beg-last-out end-last-out))) |
| 3510 | (setq pos pmax)) | 3509 | (setq pos pmax)) |
| 3511 | ;; Set point in the window displaying buf, if any; otherwise | 3510 | ;; Set point in the window displaying buf, if any; otherwise |