From 8ba3302ae8c92717c96ec3ec532e1d7c6c81ffdf Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 19 Jan 2014 22:01:43 +0100 Subject: [PATCH] Make tabulated-list-revert-hook local This keeps it from interfering with other `tabulated-list-mode'-based modes. --- desktop-registry.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop-registry.el b/desktop-registry.el index de198f1..0cd363b 100644 --- a/desktop-registry.el +++ b/desktop-registry.el @@ -278,7 +278,7 @@ Enabling this global minor mode will add ("Exists" 6 nil) ("Location" 0 t)] 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)) ;;;###autoload