1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

* 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 (setq entry-id nil
saved-pt (point))) saved-pt (point)))
;; If the buffer this empty, simply print each elt. ;; If the buffer this empty, simply print each elt.
(if (eobp) (if (or (not update) (eobp))
(apply tabulated-list-printer elt) (apply tabulated-list-printer elt)
(while (let ((local-id (tabulated-list-get-id))) (while (let ((local-id (tabulated-list-get-id)))
;; If we find id, then nothing to update. ;; If we find id, then nothing to update.