branch: externals/debbugs commit dcb42bdde493d8af61c56a44dec7d85daac1da86 Author: Morgan Smith <morgan.j.sm...@outlook.com> Commit: Michael Albinus <michael.albi...@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))