mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(server-unload-hook): New function.
This commit is contained in:
parent
af95e0d149
commit
df4e8a1129
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue