emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/minibuf.texi


From: Romain Francoise
Subject: [Emacs-diffs] Changes to emacs/lispref/minibuf.texi
Date: Fri, 30 Sep 2005 14:29:02 -0400

Index: emacs/lispref/minibuf.texi
diff -c emacs/lispref/minibuf.texi:1.64 emacs/lispref/minibuf.texi:1.65
*** emacs/lispref/minibuf.texi:1.64     Wed Aug 10 14:29:00 2005
--- emacs/lispref/minibuf.texi  Fri Sep 30 18:29:01 2005
***************
*** 1044,1049 ****
--- 1044,1054 ----
  it should be a string or a buffer.  It is mentioned in the prompt, but
  is not inserted in the minibuffer as initial input.
  
+ The argument @var{prompt} should be a string ending with a colon and a
+ space.  If @var{default} is address@hidden, the function inserts it in
+ @var{prompt} before the colon to follow the convention for reading from
+ the minibuffer with a default value (@pxref{Programming Tips}).
+ 
  If @var{existing} is address@hidden, then the name specified must be
  that of an existing buffer.  The usual commands to exit the minibuffer
  do not exit if the text is not valid, and @key{RET} does completion to
***************
*** 1058,1064 ****
  @samp{minibuffer.texi}, so that name is the value.
  
  @example
! (read-buffer "Buffer name? " "foo" t)
  @group
  ;; @r{After evaluation of the preceding expression,}
  ;;   @r{the following prompt appears,}
--- 1063,1069 ----
  @samp{minibuffer.texi}, so that name is the value.
  
  @example
! (read-buffer "Buffer name: " "foo" t)
  @group
  ;; @r{After evaluation of the preceding expression,}
  ;;   @r{the following prompt appears,}
***************
*** 1067,1073 ****
  
  @group
  ---------- Buffer: Minibuffer ----------
! Buffer name? (default foo) @point{}
  ---------- Buffer: Minibuffer ----------
  @end group
  
--- 1072,1078 ----
  
  @group
  ---------- Buffer: Minibuffer ----------
! Buffer name (default foo): @point{}
  ---------- Buffer: Minibuffer ----------
  @end group
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]