.emacs-my
changeset 564 0eae7b87c27a
parent 563 6d5387a4e95d
child 576 259fabfae56e
child 577 d24848aec7d1
--- a/.emacs-my	Thu Jan 27 17:30:57 2011 +0200
+++ b/.emacs-my	Mon Jan 31 11:25:26 2011 +0200
@@ -938,6 +938,9 @@
    jabber-backlog-days 30
    jabber-alert-presence-message-function (lambda (who oldstatus newstatus statustext) nil)
    )
+  ;; Redefine standard binding for sending message form RET to C-RET.
+  (define-key jabber-chat-mode-map (kbd "RET") 'newline)
+  (define-key jabber-chat-mode-map [C-return] 'jabber-chat-buffer-send)
   )
 
 (setq my-chat-prompt "[%t] %n>\n")