Fix bug #19211 with move-end-of-line in non-interactive session.
commit59c4d5f95337d6393edb5ffe6b9ef74e4f89058f
authorEli Zaretskii <eliz@gnu.org>
Sun, 30 Nov 2014 16:06:19 +0000 (30 18:06 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 30 Nov 2014 16:06:19 +0000 (30 18:06 +0200)
tree7065d829bf1279d6ba5552c654fdd923535019d7
parentbabb0ca80be9a46eee70f23377f360e927797ae2
Fix bug #19211 with move-end-of-line in non-interactive session.

 lisp/simple.el (line-move): If noninteractive, call line-move-1, not
 forward-line, since the former is compatible with line-move-visual
 both in terms of the column to which it moves and the return
 value.
lisp/ChangeLog
lisp/simple.el