* mml.el (mml-minibuffer-read-description): Allow passing in a prefix
authorKevin Layer <layer@known.net>
Wed, 3 Apr 2013 18:35:12 +0000 (20:35 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 3 Apr 2013 18:35:12 +0000 (20:35 +0200)
(used by MH-E).

lisp/ChangeLog
lisp/mml.el

index 8ebf7a7..690bb5c 100644 (file)
@@ -1,3 +1,8 @@
+2013-04-03  Kevin Layer  <layer@known.net>  (tiny change)
+
+       * mml.el (mml-minibuffer-read-description): Allow passing in a prefix
+       (used by MH-E).
+
 2013-04-01  Andrew Cohen  <cohen@bu.edu>
 
        * nnir.el (nnir-request-update-mark): Improve mark updating in original
index 3c9344a..3c79d18 100644 (file)
@@ -1212,8 +1212,8 @@ If not set, `default-directory' will be used."
        string
       default)))
 
-(defun mml-minibuffer-read-description ()
-  (let ((description (read-string "One line description: ")))
+(defun mml-minibuffer-read-description (&optional initial-input)
+  (let ((description (read-string "One line description: " initial-input)))
     (when (string-match "\\`[ \t]*\\'" description)
       (setq description nil))
     description))