summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-01-22 11:03:22 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-01-22 11:03:59 -0800
commitd02f2a793e8ee974198f88d966c4a87df3fba104 (patch)
treec80c23847fcd311bdf7d6d0c91931452dfdbeb4b /lisp/simple.el
parent196c42b8bf9cc9ce804aab38198391e9bff126e5 (diff)
downloademacs-d02f2a793e8ee974198f88d966c4a87df3fba104.tar.gz
* lisp/simple.el: Minor fixes to commentary.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el5
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."
(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