diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-04-10 13:09:42 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-04-10 13:09:42 +0300 |
commit | 5aed69af5e224bdaf38b3f890e57864f8435b4f5 (patch) | |
tree | e14642f6402fb193e4093d7bdaae095880951a86 /lisp/emacs-lisp/timer.el | |
parent | 3638632f0bde06aac848655e28e28d188b48cd64 (diff) | |
download | emacs-5aed69af5e224bdaf38b3f890e57864f8435b4f5.tar.gz emacs-5aed69af5e224bdaf38b3f890e57864f8435b4f5.tar.bz2 emacs-5aed69af5e224bdaf38b3f890e57864f8435b4f5.zip |
Fix 'recenter' when visual-line-mode is turned on
* src/window.c (Frecenter): Use the same code for GUI and TTY
frames alike; use vmotion only for "initial" frames. This is
because vmotion doesn't support visual-line-mode. Rewrite the
'iarg >= 0' case to use move_it_* functions instead of using
vmotion, for the same reason. Fix the clipping of the argument
value to support scroll-margin in all cases and avoid unwarranted
recentering. Reported by Milan Stanojević <milanst@gmail.com> in
http://lists.gnu.org/archive/html/help-gnu-emacs/2015-04/msg00092.html,
which see.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions