(liece-emacs-read-mark): Ditto.
* liece-xemacs.el (liece-xemacs-unread-mark): Ditto.
(liece-xemacs-read-mark): Ditto.
+2001-11-03  OHASHI Akira  <bg66@koka-in.org>
+
+        * liece-emacs.el (liece-emacs-unread-mark): Use regexp-quote.
+        (liece-emacs-read-mark): Ditto.
+        * liece-xemacs.el (liece-xemacs-unread-mark): Ditto.
+        (liece-xemacs-read-mark): Ditto.
+
 2001-10-07   Daiki Ueno  <ueno@unixuser.org>
 
        * liece-misc.el (liece-subtract-time): New function.
 
       (with-current-buffer liece-channel-list-buffer
         (let ((buffer-read-only nil))
          (goto-char (point-min))
-         (when (re-search-forward (concat "^ ?[0-9]+: " chnl "$") nil t)
+         (when (re-search-forward (concat "^ ?[0-9]+: " (regexp-quote chnl)
+                                          "$") nil t)
             (goto-char (match-end 0))
            (insert (concat " " liece-channel-unread-character)))))))
 
         (let ((buffer-read-only nil))
          (goto-char (point-min))
          (when (re-search-forward
-                (concat "^ ?[0-9]+: " chnl " "
+                (concat "^ ?[0-9]+: " (regexp-quote chnl) " "
                         liece-channel-unread-character "$") nil t)
             (goto-char (- (match-end 0) 2))
            (delete-char 2))))))
 
                                      :data liece-channel-unread-character)))))
               ext)
          (goto-char (point-min))
-         (when (re-search-forward (concat "^ ?[0-9]+: " chnl "$") nil t)
+         (when (re-search-forward (concat "^ ?[0-9]+: " (regexp-quote chnl)
+                                          "$") nil t)
             (goto-char (match-end 0))
            (insert " ")
            (setq ext (make-extent (match-end 0) (1+ (match-end 0))))
       (with-current-buffer liece-channel-list-buffer
         (let ((buffer-read-only nil))
          (goto-char (point-min))
-         (when (re-search-forward (concat "^ ?[0-9]+: " chnl " $") nil t)
+         (when (re-search-forward (concat "^ ?[0-9]+: " (regexp-quote chnl)
+                                          " $") nil t)
             (goto-char (1- (match-end 0)))
            (delete-char 1))))))