comparison 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
comparison
equal deleted inserted replaced
4435:1e2fc51563a5 4436:a72dc882abf1
212 "*Non-nil means to kill buffers with clients attached without requiring confirmation." 212 "*Non-nil means to kill buffers with clients attached without requiring confirmation."
213 :type 'boolean 213 :type 'boolean
214 :group 'gnuserv) 214 :group 'gnuserv)
215 215
216 (defcustom gnuserv-temp-file-regexp 216 (defcustom gnuserv-temp-file-regexp
217 (concat "^" (temp-directory) "/Re\\|/draft$") 217 (concat "^" (regexp-quote (temp-directory)) "/Re\\|/draft$")
218 "*Regexp which should match filenames of temporary files deleted 218 "*Regexp which should match filenames of temporary files deleted
219 and reused by the programs that invoke the Emacs server." 219 and reused by the programs that invoke the Emacs server."
220 :type 'regexp 220 :type 'regexp
221 :group 'gnuserv) 221 :group 'gnuserv)
222 222