-(defun riece-channel-list-mark-current-channel (last)
- (if (and riece-channel-list-buffer-mode
- riece-current-channel)
- (save-excursion
- (set-buffer riece-channel-list-buffer)
- (let ((inhibit-read-only t)
- buffer-read-only)
- (goto-char (point-min))
- (if (re-search-forward "^\\( ?[0-9]+:\\)\\*" nil t)
- (replace-match "\\1 "))
- (goto-char (point-min))
- (if (re-search-forward
- (concat
- "^\\( ?[0-9]+:\\).\\("
- (regexp-quote (riece-format-identity riece-current-channel))
- "\\)$") nil t)
- (replace-match "\\1*\\2"))))))
-