]> code.delx.au - gnu-emacs/blobdiff - lisp/nnspool.el
* shell.el (shell-dirtrack-verbose): New custom variable.
[gnu-emacs] / lisp / nnspool.el
index 82a607efe607ff5e16b53e8924da272d02353317..f80bf28b7cd2377074ab2c9fbc27f769a507b125 100644 (file)
@@ -465,7 +465,7 @@ there.")
     (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