diff -r 1fdbc6490e16 -r 42c32f7738e7 .emacs-my --- a/.emacs-my Mon Jun 27 21:51:53 2011 +0300 +++ b/.emacs-my Fri Jul 01 16:06:49 2011 +0300 @@ -1070,6 +1070,9 @@ (global-set-key (kbd "C-x C-j C-s") 'my-jabber-send) +(when (featurep 'jabber) + (add-hook 'kill-emacs-hook 'jabber-disconnect) ) + ;;; ---------------------------------------------------------------- (message "rcirc")