help-gnu-emacs
[Top][All Lists]
Advanced

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

emacs 24 read-file-name bug?


From: Lachlan Deck
Subject: emacs 24 read-file-name bug?
Date: Sat, 19 Nov 2011 07:45:29 +1100

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
address@hidden




reply via email to

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