diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-10-17 06:55:07 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-10-17 06:55:07 +0000 |
commit | 3bb38bc22e6f113697a74ab57725a2234d1b6aef (patch) | |
tree | f9d9e86bb79bc5beb5856a0a5dd5075af1dbe11a /lisp/server.el | |
parent | 35f825bdaba522387f525cc2d4cac78420770375 (diff) | |
download | emacs-3bb38bc22e6f113697a74ab57725a2234d1b6aef.tar.gz emacs-3bb38bc22e6f113697a74ab57725a2234d1b6aef.tar.bz2 emacs-3bb38bc22e6f113697a74ab57725a2234d1b6aef.zip |
(server-unload-hook): Set as a variable with add-hook.
Diffstat (limited to 'lisp/server.el')
-rw-r--r-- | lisp/server.el | 2 |
1 files changed, 2 insertions, 0 deletions
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) |