Wilfred Hughes <address@hidden> writes:
However, running it in --batch gives:
$ emacs -batch -l ~/projects/pyimport/nasty.el
point is: 20
This is incorrect: for some reason move-end-of-line is behaving
differently here. Removing any of the extra special forms (e.g. the
redundant lets) fixes it.
Strange indeed.
OTOH, looking at the doc of `move-end-of-line' ("Move point to end of
current line as displayed.") I wouldn't rely on the result in batch mode
at all, since there is no display.
`end-of-line' yields the same result in both situations here.
Michael.