From 57e7666477a9cd14ad4f1386856686a23bfb87fd Mon Sep 17 00:00:00 2001 From: Artur Malabarba Date: Sun, 14 Jun 2015 14:40:48 +0100 Subject: [PATCH] * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Don't assume that `tabulated-list-printer' will leave point at the end of the buffer. (Bug#20810) --- lisp/emacs-lisp/tabulated-list.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index fb3045d2b4c..4bf714baa18 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el @@ -347,7 +347,7 @@ changing `tabulated-list-sort-key'." (setq entry-id nil saved-pt (point))) ;; If the buffer this empty, simply print each elt. - (if (eobp) + (if (or (not update) (eobp)) (apply tabulated-list-printer elt) (while (let ((local-id (tabulated-list-get-id))) ;; If we find id, then nothing to update. -- 2.39.2