summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/seq.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-10-27 17:07:47 +0200
committerEli Zaretskii <eliz@gnu.org>2019-10-27 17:07:47 +0200
commitfc0f98a8a87ca48b4c3fb0e66d1bd1e2dcc9aa19 (patch)
treec39e9fe2cf0ef45672cc39dcd1d7f7ccf631354c /lisp/emacs-lisp/seq.el
parent1b687e171e542165a260a9416d103a0af201e0c7 (diff)
downloademacs-fc0f98a8a87ca48b4c3fb0e66d1bd1e2dcc9aa19.tar.gz
emacs-fc0f98a8a87ca48b4c3fb0e66d1bd1e2dcc9aa19.tar.bz2
emacs-fc0f98a8a87ca48b4c3fb0e66d1bd1e2dcc9aa19.zip
Fix point position after revert-buffer in tabulated-list mode
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Don't use count-screen-lines, as it is unreliable when lines are truncated and the region ends before a newline (the root cause is in vertical-motion, but is very hard to fix there). Instead, use vertical-motion directly, as the problems with counting/not counting the newline that ends the region are not relevant to what we need in this function, which is simply the number of the current window line. (Bug#37941)
Diffstat (limited to 'lisp/emacs-lisp/seq.el')
0 files changed, 0 insertions, 0 deletions