Fix prompt format (prompt and text stay on two line, not one).
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 09 Dec 2009 11:04:30 +0200
changeset 214 f4234e15d891
parent 213 97807e9a6224
child 215 404b444d990b
Fix prompt format (prompt and text stay on two line, not one). This good when text contain code (which not indent to right by prompt).
.emacs-my
--- a/.emacs-my	Tue Dec 08 15:03:25 2009 +0200
+++ b/.emacs-my	Wed Dec 09 11:04:30 2009 +0200
@@ -672,6 +672,16 @@
           )
   )
 
+(setq my-chat-prompt "[%t] %n>\n")
+(when (featurep 'jabber)
+  (setq
+   jabber-chat-foreign-prompt-format my-chat-prompt
+   jabber-chat-local-prompt-format my-chat-prompt
+   jabber-groupchat-prompt-format my-chat-prompt
+   jabber-muc-private-foreign-prompt-format "[%t] %g/%n>\n"
+   )
+  )
+
 ;; fsm used in emacs jabber
 (when (featurep 'fsm)
   (setq fsm-debug nil)                  ; Disable *fsm-debug* buffer.