emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/debbugs dcb42bdde4 1/2: Add 'debbugs-gnu-rescan' to 'ta


From: Michael Albinus
Subject: [elpa] externals/debbugs dcb42bdde4 1/2: Add 'debbugs-gnu-rescan' to 'tabulated-list-revert-hook'
Date: Sun, 18 Jun 2023 07:48:41 -0400 (EDT)

branch: externals/debbugs
commit dcb42bdde493d8af61c56a44dec7d85daac1da86
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
Commit: Michael Albinus <michael.albinus@gmx.de>

    Add 'debbugs-gnu-rescan' to 'tabulated-list-revert-hook'
    
    This now fetches new bugs when the buffer is reverted.
    
    * debbugs-gnu.el (debbugs-gnu-mode): Add 'debbugs-gnu-rescan' to
    'tabulated-list-revert-hook'.  (Bug#64064)
---
 debbugs-gnu.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index cbc310ae57..034dff9dda 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -1231,6 +1231,7 @@ Interactively, it is non-nil with the prefix argument."
                               ("Title"     10 debbugs-gnu-sort-title)])
   (setq tabulated-list-sort-key (cons "Id" nil))
   (setq tabulated-list-printer #'debbugs-gnu-print-entry)
+  (add-hook 'tabulated-list-revert-hook #'debbugs-gnu-rescan nil t)
   (buffer-disable-undo)
   (setq truncate-lines t)
   (setq buffer-read-only t))



reply via email to

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