+2003-11-01 Oliver Scholz <epameinondas@gmx.de>
+
+ * emacs-lisp/rx.el (rx-or): Fix the case of
+ "(rx (and ?a (or ?b ?c) ?d))".
+
2003-11-01 Christoph Wedler <wedler@users.sourceforge.net> (tiny change)
* textmodes/texinfmt.el (texinfo-pre-format-hook): New variable.
(dolist (arg (cdr form))
(unless (stringp arg)
(setq all-args-strings nil)))
- (if all-args-strings
- (regexp-opt (cdr form))
- (mapconcat #'rx-to-string (cdr form) "\\|"))))
+ (concat "\\(?:"
+ (if all-args-strings
+ (regexp-opt (cdr form))
+ (mapconcat #'rx-to-string (cdr form) "\\|"))
+ "\\)")))
(defun rx-quote-for-set (string)