emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 d02f2a7: * lisp/simple.el: Minor fixes to commentary.


From: Paul Eggert
Subject: emacs-27 d02f2a7: * lisp/simple.el: Minor fixes to commentary.
Date: Wed, 22 Jan 2020 14:04:06 -0500 (EST)

branch: emacs-27
commit d02f2a793e8ee974198f88d966c4a87df3fba104
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    * lisp/simple.el: Minor fixes to commentary.
---
 lisp/simple.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 9a2586d..3546bef 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -3502,10 +3502,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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]