diff options
Diffstat (limited to 'lisp/simple.el')
-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 9bfd58f7d61..8be27745b1c 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3507,10 +3507,9 @@ whose `car' is BUFFER." (let ((win (car (get-buffer-window-list buf))) (pmax (with-current-buffer buf (point-max)))) - ;; The first time we run a command in a fresh created buffer + ;; The first time we run a command in a freshly created buffer ;; we have not saved positions yet; advance to `point-max', so that - ;; succesive commands knows the position where the new comman start. - ;; (unless (and pos (memq sym '(save-point beg-last-out))) + ;; successive commands know where to start. (unless (and pos (memq sym '(save-point beg-last-out end-last-out))) (setq pos pmax)) ;; Set point in the window displaying buf, if any; otherwise |