diff lisp/gnus/nnspool.el @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 0293115a14e9
line wrap: on
line diff
--- a/lisp/gnus/nnspool.el	Mon Aug 13 08:45:53 2007 +0200
+++ b/lisp/gnus/nnspool.el	Mon Aug 13 08:46:35 2007 +0200
@@ -465,7 +465,7 @@
     (buffer-disable-undo (current-buffer))
     (erase-buffer)
     (condition-case ()
-	(call-process "grep" nil t nil id nnspool-history-file)
+	(call-process "grep" nil t nil (regexp-quote id) nnspool-history-file)
       (error nil))
     (goto-char (point-min))
     (prog1