[gnus git] branch master updated: m0-5-293-g027c714 =1= mml.el (mml-minibuffer-read-description): Use `default' insted of `initial-input' for the argument name

Katsumi Yamaoka <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  027c7149090fb3655dcdddd680b84bd4a579ca0a (commit)
      from  9b16bbe493e3b5054cbb24070557864e94c58241 (commit)


- Log -----------------------------------------------------------------
commit 027c7149090fb3655dcdddd680b84bd4a579ca0a
Author: Katsumi Yamaoka <[email protected]>
Date:   Thu Apr 4 02:35:40 2013 +0000

    mml.el (mml-minibuffer-read-description): Use `default' insted of `initial-input' for the argument name

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 690bb5c..3cac579 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2013-04-04  Katsumi Yamaoka  <[email protected]>
+
+	* mml.el (mml-minibuffer-read-description): Use `default' insted of
+	`initial-input' for the argument name.
+	Suggested by Stefan Monnier <[email protected]>.
+
 2013-04-03  Kevin Layer  <[email protected]>  (tiny change)
 
 	* mml.el (mml-minibuffer-read-description): Allow passing in a prefix
diff --git a/lisp/mml.el b/lisp/mml.el
index 3c79d18..91f0e32 100644
--- a/lisp/mml.el
+++ b/lisp/mml.el
@@ -1212,8 +1212,8 @@ If not set, `default-directory' will be used."
 	string
       default)))
 
-(defun mml-minibuffer-read-description (&optional initial-input)
-  (let ((description (read-string "One line description: " initial-input)))
+(defun mml-minibuffer-read-description (&optional default)
+  (let ((description (read-string "One line description: " default)))
     (when (string-match "\\`[ \t]*\\'" description)
       (setq description nil))
     description))

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog |    6 ++++++
 lisp/mml.el    |    4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.