* riece-misc.el (riece-insert): Undo the last change.
(looking-at ".*\n")) ;the input line is not finished
(save-excursion
(if (looking-at
- ":\\([^ ]+\\) +\\([0-5][0-9][0-9]\\) +\\([^ ]+\\) +\\(.*\\)")
+ ":\\([^ ]+\\) +\\([0-5][0-9][0-9]\\) +\\([^ ]+\\) +\\(.*\\)\n")
(riece-handle-numeric-reply
(match-string 1) ;prefix
(string-to-number (match-string 2)) ;number
(match-string 3) ;name
(riece-chomp-string (match-string 4))) ;reply string
- (if (looking-at "\\(:\\([^ ]+\\) +\\)?\\([^ ]+\\) +\\(.*\\)")
+ (if (looking-at "\\(:\\([^ ]+\\) +\\)?\\([^ ]+\\) +\\(.*\\)\n")
(riece-handle-message
(match-string 2) ;optional prefix
(match-string 3) ;command
(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)))
- ;; This triggers forced redisplay under GNU Emacs.
- (sit-for 0))
+ (setq buffers (cdr buffers))))
(defun riece-insert-change (buffer message)
(riece-insert buffer (concat riece-change-prefix message)))