]> git.eshelyaron.com Git - emacs.git/commitdiff
Use `format-prompt' in `describe-char-fold-equivalences'
authorRobert Pluim <rpluim@gmail.com>
Fri, 2 Sep 2022 13:09:48 +0000 (15:09 +0200)
committerRobert Pluim <rpluim@gmail.com>
Fri, 2 Sep 2022 13:11:50 +0000 (15:11 +0200)
* lisp/char-fold.el (describe-char-fold-equivalences): Use `format-prompt'.

lisp/char-fold.el

index 2ac4cb0543a27cdeb1432ef7ad84245c9052de40..43e3cd45ecb46f9b5d24a5c9265675ab517de4a6 100644 (file)
@@ -439,7 +439,9 @@ non-nil, means also include partially matching ligatures and
 non-canonical equivalences."
   (interactive (list (ignore-errors
                        (read-char-by-name
-                        "Unicode name, single char, or hex, default all: " t))
+                        (format-prompt "Unicode name, single char, or hex"
+                                       "all")
+                        t))
                      current-prefix-arg))
   (require 'help-fns)
   (let ((help-buffer-under-preparation t))