]> git.eshelyaron.com Git - emacs.git/commitdiff
; (crm-change-separator): Enable recursive minibuffers. feature/minibuffer-completion-enhancements
authorEshel Yaron <me@eshelyaron.com>
Fri, 19 Jan 2024 19:02:21 +0000 (20:02 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Jan 2024 08:53:07 +0000 (09:53 +0100)
lisp/emacs-lisp/crm.el

index f9a2a1f049c864a998c9944fcb5b9a8433b1194e..ebea8b060e16e73a2a7133cb2bcdb2d371aa33f6 100644 (file)
@@ -183,9 +183,10 @@ old `crm-separator' in the current minibuffer contents with REP.
 Interactively, prompt for SEP.  With a prefix argument, prompt
 for REP as well."
   (interactive
-   (let ((sep (read-regexp
-               (format-prompt "New separator" crm-current-separator)
-               crm-current-separator)))
+   (let* ((enable-recursive-minibuffers t)
+          (sep (read-regexp
+                (format-prompt "New separator" crm-current-separator)
+                crm-current-separator)))
      (list sep
            (when current-prefix-arg
              (read-string-matching sep "Replace existing separators with: "))))