* emacs 24 read-file-name bug?
@ 2011-11-18 20:45 Lachlan Deck
0 siblings, 0 replies; only message in thread
From: Lachlan Deck @ 2011-11-18 20:45 UTC (permalink / raw)
To: help-gnu-emacs
Hi there,
In emacs 24 the following 'message' produces the empty string if you just hit enter at the mini-buffer prompt. In emacs 23, you 'guess' is printed.
Is this a known bug?
(let* ((default-directory "~/path/to/project/")
(guess (concat default-directory ".ensime"))
(file (read-file-name
"Foo: "
(file-name-directory guess)
guess
nil
(file-name-nondirectory guess)
)))
(message file))
cheers,
Lachlan Deck
lachlan.deck@gmail.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-11-18 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-18 20:45 emacs 24 read-file-name bug? Lachlan Deck
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.