changeset 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 1e2fc51563a5
children 11357f7846bf
files lisp/ChangeLog lisp/gnuserv.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Mar 05 18:01:37 2008 +0100
+++ b/lisp/ChangeLog	Fri Mar 07 14:35:37 2008 +0100
@@ -1,3 +1,8 @@
+2008-03-07  Michael Sperber  <mike@xemacs.org>
+
+	* gnuserv.el (gnuserv-temp-file-regexp): Quote the temp-directory
+	part.
+
 2008-03-05  Didier Verna  <didier@xemacs.org>
 
 	Fix auto-formatting of comments in auto-fill-mode.
--- 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