summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-04-10 13:09:42 +0300
committerEli Zaretskii <eliz@gnu.org>2015-04-10 13:09:42 +0300
commit5aed69af5e224bdaf38b3f890e57864f8435b4f5 (patch)
treee14642f6402fb193e4093d7bdaae095880951a86 /lisp/emacs-lisp/lisp.el
parent3638632f0bde06aac848655e28e28d188b48cd64 (diff)
downloademacs-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/lisp.el')
0 files changed, 0 insertions, 0 deletions