From: Magnus H. <leg...@us...> - 2009-01-28 03:18:47
|
Update of /cvsroot/emacs-jabber/emacs-jabber In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv1610 Modified Files: jabber.texi Log Message: Manual: chat printers Index: jabber.texi =================================================================== RCS file: /cvsroot/emacs-jabber/emacs-jabber/jabber.texi,v retrieving revision 1.139 retrieving revision 1.140 diff -u -d -r1.139 -r1.140 --- jabber.texi 28 Jan 2009 02:03:01 -0000 1.139 +++ jabber.texi 28 Jan 2009 02:10:01 -0000 1.140 @@ -2531,8 +2531,12 @@ (@code{jabber-chat-print-body}, and @code{jabber:x:oob}-style URLs (@code{jabber-chat-print-url}). The functions in @code{jabber-chat-printers} are called in order, with the entire -@code{<message/>} stanza as argument, and are expected to call -@code{insert} if they have anything to add. +@code{<message/>} stanza as argument. As described in the docstring +of @code{jabber-chat-printers}, these functions are run in one of two +modes: @code{printp}, in which they are supposed to return true if +they would print anything, and @code{insert}, in which they are +supposed to actually print something, if appropriate, using the +function @code{insert}. For MUC, the functions in @code{jabber-muc-printers} are prepended to those in @code{jabber-chat-printers}. |