From: Artur Malabarba Date: Sun, 14 Jun 2015 13:40:48 +0000 (+0100) Subject: * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): X-Git-Tag: emacs-25.0.90~1770 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=57e7666477a9cd14ad4f1386856686a23bfb87fd;p=emacs.git * 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) --- 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.