From 3bb38bc22e6f113697a74ab57725a2234d1b6aef Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 17 Oct 2004 06:55:07 +0000 Subject: [PATCH] (server-unload-hook): Set as a variable with add-hook. --- lisp/server.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/server.el b/lisp/server.el index 3a330f07a3c..534ba9fa09e 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -631,6 +631,8 @@ Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it." (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) -- 2.39.5