[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10798: 24.0.93; read-file-name
From: |
Glenn Morris |
Subject: |
bug#10798: 24.0.93; read-file-name |
Date: |
Mon, 13 Feb 2012 13:44:09 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Francis Wright wrote:
[read-file-name doc]
> For graphical file dialogs, any the special values of MUSTMATCH;
> `confirm' and `confirm-after-completion' are treated as equivalent to
> nil.
By inspection, it should say something like:
For graphical file dialogs, any of the special values of MUSTMATCH
`confirm' and `confirm-after-completion' are treated as equivalent to
nil.
The idea is that MUSTMATCH = t is still supposed to work.
However, it does not work for me with GTK+ Version 2.18.9 on GNU/Linux
with 23.4 or the current trunk.
I tested with:
(define-key-after menu-bar-help-menu [key]
'(menu-item "foo" foo))
(defun foo (file)
(interactive (list (read-file-name "foo: " nil nil t)))
(setq foo file))
I can happily input a file name that does not exist via the menu-item.