changeset 57543:e47852bd4fc4

(server-unload-hook): Set as a variable with add-hook.
author Richard M. Stallman <rms@gnu.org>
date Sun, 17 Oct 2004 06:55:07 +0000
parents 06006ae6008a
children 9eb4eed0a14c
files lisp/server.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Sun Oct 17 06:54:13 2004 +0000
+++ b/lisp/server.el	Sun Oct 17 06:55:07 2004 +0000
@@ -631,6 +631,8 @@
   (remove-hook 'kill-buffer-query-functions 'server-kill-buffer-query-function)
   (remove-hook 'kill-emacs-query-functions 'server-kill-emacs-query-function)
   (remove-hook 'kill-buffer-hook 'server-kill-buffer))
+
+(add-hook 'server-unload-hook 'server-unload-hook)
 
 (provide 'server)