Dont save undo history in chat buffers.

This commit is contained in:
Evgenii Terechkov 2010-04-22 15:12:16 +08:00
parent cab6d24734
commit 1f38235fea
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ window or at `fill-column', whichever is shorter."
(make-local-variable 'scroll-conservatively)
(make-local-variable 'jabber-point-insert)
(make-local-variable 'jabber-chat-ewoc)
(make-local-variable 'buffer-undo-list)
(setq jabber-buffer-connection jc
scroll-conservatively 5
buffer-undo-list t) ;dont keep undo list for chatbuffer