]> git.eshelyaron.com Git - emacs.git/commitdiff
(line-move-1): Check for move-end-of-line instead of
authorKim F. Storm <storm@cua.dk>
Wed, 21 Jun 2006 12:01:57 +0000 (12:01 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 21 Jun 2006 12:01:57 +0000 (12:01 +0000)
end-of-line when setting temporary-goal-column.

lisp/simple.el

index 5d52d867beb21258d1704914e5e9ea337316f709..754b6e9ed38d6a912b3f96207edeacbc252aec9d 100644 (file)
@@ -3529,7 +3529,7 @@ Outline mode sets this."
                    (if (and track-eol (eolp)
                             ;; Don't count beg of empty line as end of line
                             ;; unless we just did explicit end-of-line.
-                            (or (not (bolp)) (eq last-command 'end-of-line)))
+                            (or (not (bolp)) (eq last-command 'move-end-of-line)))
                        9999
                      (current-column))))