Merge from origin/emacs-26
255ba01148
Fix handling of nil PRED2 arg for completion-table-with-pr...949b70a7d8
; Minor comment copyedit in window.c20f9bf30f0
Describe Lao rendering problem3d61657694
Fix docstring of arabic-shaper-ZWNJ-handlingdb949166ec
Handle single-line comments correctly (Bug#26049)795bb233a5
* test/lisp/net/tramp-tests.el (tramp-test16-file-expand-w...ba00ea7d0d
* etc/PROBLEMS: Add URL to relevant issues for xterm+evil bug4a6015811e
; In text.texi fix typo spotted by Štěpán Němec93cd8415b2
Document new treatment of 'comment-auto-fill-only-comments'ca2d94ba61
Do not load Tramp unless `tramp-mode' is non-nil709478eaa8
Prefer `customize-set-variable' in tramp.texi5d36f2227f
Fix last change in hscroll_window_tree72d07d1950
Ediff: add some missing documentation18af404ef3
Support python virtualenv on w32 (Bug#24464)efd0371c23
Improve dired deletion error handling (Bug#28797)5d744e032f
Don't replace user input when completion prefix is empty (...ec6cf35c5f
; Describe xt-mouse problems with Evil modec572e1f329
Return non-nil from gnutls-available-p under GnuTLS 2.xa2cc6d74c5
Fix Flymake help-echo functions across windows (bug#29142)58bb3462ee
Add tests for Flymake backends for Ruby and Perl58e742b21d
Add a Flymake backend for Perl9dee764165
Add a Flymake backend for Ruby3ad712ebc9
Add a Flymake backend for Python (bug#28808)8db2b3a79b
Allow "%" in Tramp host names8c50842790
; Fix typo in test/file-organization.org00fa4449cd
; Fix typo918a2dda07
Use hybrid malloc for FreeBSD (Bug#28308)725ab635d9
Add html-, mhtml- and python-mode support to semantic symref369da28702
Improve documentation of 'window-scroll-functions'93818eed8a
Fix subtle problems in tabulated-list-mode with line numbers1f1de8e872
Make gdb-non-stop-setting default to nil on MS-Windows680e8e119b
Fix gdb-mi prompt after "attach PID" commandff33074546
Fix doc string of 'window-configuration-change-hook'787b75ad71
Improve documentation of window hooksd9be8704ae
Fix hscroll suspension after cursor motion6f43d29d29
; * CONTRIBUTE, admin/make-tarball.txt: Doc tweaks re 'ema...a0d30d6369
Introduce a function to CC Mode which displays the current...383abc8898
; Fix some comment typosb02c2714c3
Fix typos in ediff-wind.el4f38bdec74
Examine tex-chktex--process in the correct buffer94b490529a
* nt/INSTALL.W64: Update to current mingw64 install instru...c25113d4ac
Don't resignal errors in flymake-diag-regione950f329c0
New xref-quit-and-goto-xref command bound to TAB (bug#28814)5d34e1b288
Allow split-window-sensibly to split threshold in further ...2a973edeac
Honor window-switching intents in xref-find-definitions (b...78e9065e9f
* lisp/emacs-lisp/generator.el (iter-do): Add a debug decl...caa63cc96c
* lisp/progmodes/flymake.el (flymake-start): Fix dead buff...9f4f130b79
Fix buffer name comparison in async shell-command # Conflicts: # etc/NEWS # lisp/vc/ediff-wind.el
This commit is contained in:
commit
6ee8270594
50 changed files with 866 additions and 248 deletions
|
@ -718,7 +718,8 @@ is blocked."
|
|||
"Loop over values from an iterator.
|
||||
Evaluate BODY with VAR bound to each value from ITERATOR.
|
||||
Return the value with which ITERATOR finished iteration."
|
||||
(declare (indent 1))
|
||||
(declare (indent 1)
|
||||
(debug ((symbolp form) body)))
|
||||
(let ((done-symbol (cps--gensym "iter-do-iterator-done"))
|
||||
(condition-symbol (cps--gensym "iter-do-condition"))
|
||||
(it-symbol (cps--gensym "iter-do-iterator"))
|
||||
|
|
|
@ -603,7 +603,16 @@ With a numeric prefix argument N, sort the Nth column."
|
|||
(let ((lnum-width (tabulated-list-line-number-width)))
|
||||
(when (not (= tabulated-list--current-lnum-width lnum-width))
|
||||
(setq-local tabulated-list--current-lnum-width lnum-width)
|
||||
(tabulated-list-revert)))))
|
||||
(tabulated-list-init-header)))))
|
||||
|
||||
(defun tabulated-list-window-scroll-function (window _start)
|
||||
(if display-line-numbers
|
||||
(let ((lnum-width
|
||||
(with-selected-window window
|
||||
(line-number-display-width 'columns))))
|
||||
(when (not (= tabulated-list--current-lnum-width lnum-width))
|
||||
(setq-local tabulated-list--current-lnum-width lnum-width)
|
||||
(tabulated-list-init-header)))))
|
||||
|
||||
;;; The mode definition:
|
||||
|
||||
|
@ -654,7 +663,9 @@ as the ewoc pretty-printer."
|
|||
;; the line-number width needs to change due to scrolling.
|
||||
(setq-local tabulated-list--current-lnum-width 0)
|
||||
(add-hook 'pre-redisplay-functions
|
||||
#'tabulated-list-watch-line-number-width nil t))
|
||||
#'tabulated-list-watch-line-number-width nil t)
|
||||
(add-hook 'window-scroll-functions
|
||||
#'tabulated-list-window-scroll-function nil t))
|
||||
|
||||
(put 'tabulated-list-mode 'mode-class 'special)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue