summaryrefslogtreecommitdiff
path: root/lisp/shadowfile.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-10-17 06:55:46 +0000
committerRichard M. Stallman <rms@gnu.org>2004-10-17 06:55:46 +0000
commita6d237064d545704a613fe99c954c452bd78f0ff (patch)
tree12590720b229b827a07ecd6050a13a786ba1d269 /lisp/shadowfile.el
parent3bb38bc22e6f113697a74ab57725a2234d1b6aef (diff)
downloademacs-a6d237064d545704a613fe99c954c452bd78f0ff.tar.gz
(shadowfile-unload-hook): Set as variable w/ add-hook.
Diffstat (limited to 'lisp/shadowfile.el')
-rw-r--r--lisp/shadowfile.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/shadowfile.el b/lisp/shadowfile.el
index b3427ac59e5..f047223cbae 100644
--- a/lisp/shadowfile.el
+++ b/lisp/shadowfile.el
@@ -837,6 +837,8 @@ look for files that have been changed and need to be copied to other systems."
(symbol-function 'shadow-orig-save-buffers-kill-emacs)))
(remove-hook 'write-file-hooks 'shadow-add-to-todo))
+(add-hook 'shadowfile-unload-hook 'shadowfile-unload-hook)
+
(provide 'shadowfile)
;;; arch-tag: e2f4cdd7-2bab-4def-9130-9e69b412b79e