From 3082c51e168aa68f783d1cae40948152bc663d4e Mon Sep 17 00:00:00 2001 From: ueno Date: Sat, 5 Feb 2005 23:59:34 +0000 Subject: [PATCH] * riece-misc.el (riece-insert): Force redisplay for GNU Emacs. --- lisp/ChangeLog | 2 ++ lisp/riece-misc.el | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7e93b8c..dcd32aa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2005-02-05 Daiki Ueno + * riece-misc.el (riece-insert): Force redisplay for GNU Emacs. + * riece.el (riece-exit): Clear riece-window-configuration frame parameter. * riece-commands.el (riece-command-suspend-resume): Don't attempt diff --git a/lisp/riece-misc.el b/lisp/riece-misc.el index 2e2a912..363e45f 100644 --- a/lisp/riece-misc.el +++ b/lisp/riece-misc.el @@ -84,7 +84,9 @@ (goto-char point) ;select-window changes current point (recenter riece-window-center-line)))) (run-hook-with-args 'riece-after-insert-functions start (point)))) - (setq buffers (cdr buffers)))) + (setq buffers (cdr buffers))) + ;; This triggers forced redisplay under GNU Emacs. + (sit-for 0)) (defun riece-insert-change (buffer message) (riece-insert buffer (concat riece-change-prefix message))) -- 1.7.10.4