Make tabulated-list-revert-hook local

This keeps it from interfering with other `tabulated-list-mode'-based
modes.
This commit is contained in:
Tom Willemse 2014-01-19 22:01:43 +01:00
parent 89031aacac
commit 8ba3302ae8

View file

@ -278,7 +278,7 @@ Enabling this global minor mode will add
("Exists" 6 nil) ("Exists" 6 nil)
("Location" 0 t)] ("Location" 0 t)]
tabulated-list-sort-key '("Label")) tabulated-list-sort-key '("Label"))
(add-hook 'tabulated-list-revert-hook #'dreg--refresh-list) (add-hook 'tabulated-list-revert-hook #'dreg--refresh-list nil :local)
(tabulated-list-init-header)) (tabulated-list-init-header))
;;;###autoload ;;;###autoload