aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/re-builder.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index 5264dae52ae..f60d723a883 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -488,10 +488,10 @@ If the optional PAUSE is non-nil then pause at the end in any case."
488Optional argument SYNTAX must be specified if called non-interactively." 488Optional argument SYNTAX must be specified if called non-interactively."
489 (interactive 489 (interactive
490 (list (intern 490 (list (intern
491 (completing-read "Select syntax: " 491 (completing-read
492 (mapcar (lambda (el) (cons (symbol-name el) 1)) 492 (format "Select syntax (default %s): " reb-re-syntax)
493 '(read string sregex rx)) 493 '(read string sregex rx)
494 nil t (symbol-name reb-re-syntax))))) 494 nil t nil nil (symbol-name reb-re-syntax)))))
495 495
496 (if (memq syntax '(read string sregex rx)) 496 (if (memq syntax '(read string sregex rx))
497 (let ((buffer (get-buffer reb-buffer))) 497 (let ((buffer (get-buffer reb-buffer)))