Commit 4a816020 authored by Mario Lang's avatar Mario Lang

* emacs-lisp/tabulated-list.el (tabulated-list-print): Only call

`recenter' if `current-buffer' is equal to `window-buffer'.
parent d4e355b4
2014-06-06 Mario Lang <mlang@delysid.org>
* emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
`recenter' if `current-buffer' is equal to `window-buffer'.
2014-06-05 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
......
......@@ -323,7 +323,8 @@ to the entry with the same ID element as the current line."
(if saved-pt
(progn (goto-char saved-pt)
(move-to-column saved-col)
(recenter))
(when (eq (window-buffer) (current-buffer))
(recenter)))
(goto-char (point-min)))))
(defun tabulated-list-print-entry (id cols)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment