all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* read-directory-name
@ 2005-05-07  1:20 Luc Teirlinck
  2005-05-07  1:48 ` read-directory-name Luc Teirlinck
  2005-05-08 22:45 ` read-directory-name Richard Stallman
  0 siblings, 2 replies; 8+ messages in thread
From: Luc Teirlinck @ 2005-05-07  1:20 UTC (permalink / raw)


The docstring and Elisp documentation of `read-directory-name' conflict.

Docstring:

  Default name to default-dirname if user exits with the same
  non-empty string that was inserted by this function.
  (If default-dirname is omitted, dir combined with initial is used,
  or just dir if initial is nil.)

Elisp manual:

   If both DEFAULT and INITIAL are `nil',
   this function uses the current buffer's default directory as
   substitute default, ignoring DIRECTORY.

>From the following ielm run it appears that the Elisp documentation is
still correct, even though the code and docstring have changed (on
April 23) since I checked all of this quite a while ago:

ELISP> default-directory
"~/"
ELISP> (read-directory-name "Directory: " "/etc/")
"~/"
ELISP> 

To get the second line, I just presses RET with /etc/ in the
minibuffer.

Sincerely,

Luc.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-09 21:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-07  1:20 read-directory-name Luc Teirlinck
2005-05-07  1:48 ` read-directory-name Luc Teirlinck
2005-05-07  1:52   ` read-directory-name Luc Teirlinck
2005-05-07  2:34   ` read-directory-name Luc Teirlinck
2005-05-07  2:47     ` read-directory-name Luc Teirlinck
2005-05-07  2:56       ` read-directory-name Luc Teirlinck
2005-05-09 21:32         ` read-directory-name Juri Linkov
2005-05-08 22:45 ` read-directory-name Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.