+2008-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/regexp-opt.el (regexp-opt): Always return
+ a properly-grouped regexp.
+
2008-05-23 Juanma Barranquero <lekktu@gmail.com>
* progmodes/cap-words.el (capitalized-words-mode):
(open (cond ((stringp paren) paren) (paren "\\(")))
(sorted-strings (delete-dups
(sort (copy-sequence strings) 'string-lessp)))
- (re (regexp-opt-group sorted-strings open)))
+ (re (regexp-opt-group sorted-strings (or open t) (not open))))
(if words (concat "\\<" re "\\>") re))))
;;;###autoload