* 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)
This commit is contained in:
Artur Malabarba 2015-06-14 14:40:48 +01:00
parent 79bd666940
commit 57e7666477

View file

@ -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.