aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-01-19 22:01:43 +0100
committerGravatar Tom Willemse2014-01-19 22:01:43 +0100
commit8ba3302ae8c92717c96ec3ec532e1d7c6c81ffdf (patch)
tree0b41c9d8c96132738efbb09346cd8d5021d61803
parent89031aacaceee01fdef373100902c5479d1eee12 (diff)
downloaddesktop-registry-8ba3302ae8c92717c96ec3ec532e1d7c6c81ffdf.tar.gz
desktop-registry-8ba3302ae8c92717c96ec3ec532e1d7c6c81ffdf.zip
Make tabulated-list-revert-hook local
This keeps it from interfering with other `tabulated-list-mode'-based modes.
-rw-r--r--desktop-registry.el2
1 files changed, 1 insertions, 1 deletions
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