]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix the prompt for mh-mime-save-parts (SF#500)
authorMike Kupfer <mkupfer@alum.berkeley.edu>
Sun, 17 Jul 2022 18:49:56 +0000 (11:49 -0700)
committerMike Kupfer <mkupfer@alum.berkeley.edu>
Sun, 24 Jul 2022 18:30:12 +0000 (11:30 -0700)
* mh-mime.el (mh-mime-save-parts): Use the default argument to
read-directory-name; don't use format-prompt.

lisp/mh-e/mh-mime.el

index 5eada03ba46e50d5027eedfcc94055e781d4adb1..865f817da5be2a13819ac35998b1ad5d923fef24 100644 (file)
@@ -379,10 +379,8 @@ do the work."
           ((and (or prompt
                     (equal t mh-mime-save-parts-default-directory))
                 mh-mime-save-parts-directory)
-           (read-directory-name (format-prompt
-                                 "Store in directory"
-                                 mh-mime-save-parts-directory)
-                           "" mh-mime-save-parts-directory t ""))
+           (read-directory-name "Store in directory: "
+                                mh-mime-save-parts-directory nil t))
           ((stringp mh-mime-save-parts-default-directory)
            mh-mime-save-parts-default-directory)
           (t