diff lisp/gnuserv.el @ 4436:a72dc882abf1

Quote temp-directory regexp in gnuserv. 2008-03-07 Michael Sperber <mike@xemacs.org> * gnuserv.el (gnuserv-temp-file-regexp): Quote the temp-directory part.
author Mike Sperber <sperber@deinprogramm.de>
date Fri, 07 Mar 2008 14:35:37 +0100
parents 807b51903ed4
children 15c42a3f4065
line wrap: on
line diff
--- a/lisp/gnuserv.el	Wed Mar 05 18:01:37 2008 +0100
+++ b/lisp/gnuserv.el	Fri Mar 07 14:35:37 2008 +0100
@@ -214,7 +214,7 @@
   :group 'gnuserv)
 
 (defcustom gnuserv-temp-file-regexp
-  (concat "^" (temp-directory) "/Re\\|/draft$")
+  (concat "^" (regexp-quote (temp-directory)) "/Re\\|/draft$")
   "*Regexp which should match filenames of temporary files deleted
 and reused by the programs that invoke the Emacs server."
   :type 'regexp