Commit df4e8a11 authored by Dave Love's avatar Dave Love

(server-unload-hook): New function.

parent af95e0d1
......@@ -546,6 +546,11 @@ Arg NEXT-BUFFER is a suggestion; if it is a live buffer, use it."
(switch-to-buffer (other-buffer))))))
(global-set-key "\C-x#" 'server-edit)
(defun server-unload-hook ()
(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))
(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