summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/edebug-resources
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-02-29 23:49:17 +0200
committerJuri Linkov <juri@linkov.net>2020-02-29 23:49:17 +0200
commit6b48aedb6b3b1de0b41b61b727d14ab8277d2f73 (patch)
treed67542d0e9aa98015569d6e8c3a1dc1b920f97f1 /test/lisp/emacs-lisp/edebug-resources
parentc5f255d68156926923232b1edadf50faac527861 (diff)
downloademacs-6b48aedb6b3b1de0b41b61b727d14ab8277d2f73.tar.gz
emacs-6b48aedb6b3b1de0b41b61b727d14ab8277d2f73.tar.bz2
emacs-6b48aedb6b3b1de0b41b61b727d14ab8277d2f73.zip
* lisp/tab-line.el: Fix auto-hscrolling (bug#39649)
Distinguish offsets between manual-vs-automatic scrolling as integers-vs-floats instead of positive-vs-negative integers. * lisp/tab-line.el (tab-line-format-template): Use 'numberp' instead of 'integerp', and 'truncate' instead of 'abs'. (tab-line-format): When the window-buffer was updated, set window-parameter to float to enable auto-hscroll after it was disabled on manual scrolling. (tab-line-auto-hscroll-buffer): New variable with internal buffer. (tab-line-auto-hscroll): Erase in tab-line-auto-hscroll-buffer. Use 'numberp' instead of 'integerp', 'truncate' instead of 'abs', and 'float' instead of '-'. (tab-line-hscroll): Use 'numberp' instead of 'integerp', and 'truncate' instead of 'abs'.
Diffstat (limited to 'test/lisp/emacs-lisp/edebug-resources')
0 files changed, 0 insertions, 0 deletions