+2008-03-26 Johan Bockg\e$(Q)[\e(Brd <bojohan@gnu.org>
+
+ * complete.el (PC-do-completion): Use regexp-quote.
+
2008-03-26 Dan Nicolaescu <dann@ics.uci.edu>
* vc-cvs.el (vc-cvs-parse-status, vc-cvs-after-dir-status): Detect
(match-string 2 str)
"[A-Za-z0-9]*[^A-Za-z0-9]"))
p (1+ (length (match-string 1 str))))))
- (setq regex (concat "\\`" (mapconcat #'list str "[^-]*-"))
- p 1))))
+ (setq regex (concat "\\`" (mapconcat (lambda (c)
+ (regexp-quote (string c)))
+ str "[^-]*-"))
+ p 1))))
(when p
;; Use all-completions to do an initial cull. This is a big win,
;; since all-completions is written in C!