emacs-devel
[Top][All Lists]
Advanced

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

Re: (interactive "GSome prompt: ") on w32


From: Jason Rumney
Subject: Re: (interactive "GSome prompt: ") on w32
Date: Tue, 28 Mar 2006 07:09:58 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

Lennart Borgman <address@hidden> writes:

> It looks to me like (interactive "G...") can not be used to choose a
> file name when run from the menus (ie when a dialog box is displayed).

It works for me. Can you please explain in more detail what happens
when you run the following code:

(defun test (filename) "testing"
  (interactive "GFile")
  (message filename))

(define-key menu-bar-file-menu [test]
  '(menu-item "Test" test :help "Testing"))





reply via email to

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