HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af95e0d
)
(server-unload-hook): New function.
author
Dave Love
<fx@gnu.org>
Tue, 18 Dec 2001 16:42:38 +0000
(16:42 +0000)
committer
Dave Love
<fx@gnu.org>
Tue, 18 Dec 2001 16:42:38 +0000
(16:42 +0000)
lisp/server.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/server.el
b/lisp/server.el
index
ec7fdaf
..
39ba7a8
100644
(file)
--- a/
lisp/server.el
+++ b/
lisp/server.el
@@
-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))
\f
(provide 'server)