emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 57e7666: * lisp/emacs-lisp/tabulated-list.el (tabul


From: Artur Malabarba
Subject: [Emacs-diffs] master 57e7666: * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print):
Date: Sun, 14 Jun 2015 13:42:40 +0000

branch: master
commit 57e7666477a9cd14ad4f1386856686a23bfb87fd
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    * 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 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/emacs-lisp/tabulated-list.el 
b/lisp/emacs-lisp/tabulated-list.el
index fb3045d..4bf714b 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]