Commit 3bb38bc2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(server-unload-hook): Set as a variable with add-hook.

parent 35f825bd
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment