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

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

Re: yasnippet insert file name


From: Fabian Braennstroem
Subject: Re: yasnippet insert file name
Date: Mon, 21 Jul 2008 20:22:10 +0200
User-agent: slrn/0.9.8.1pl1 (Debian)

Hi weber,
* weber <address@hidden> wrote:
> On Jul 20, 1:31 pm, Fabian Braennstroem <address@hidden> wrote:
>> Hi,
>>
>>     I just saw yasnippet and wonder, if it is possible to do
>>     filename completion as well!?
>>
>>     A simple:  filename ${1:`(insert-filename)`} does not
>>     work:
>>
>>     filename (error in elisp evaluation: Wrong number of
>>         arguments: (lambda (fn) "Use filename completion to
>>             insert a filename into current buffer."
>>             (interactive "FFilename to insert: ") (insert
>>                 fn)), 0)
>>
>>     Would be nice, if someone has a suggestion.
>>
>> Greetings!
>>  Fabian
>
> Do you want to insert the current buffer file name there?
> If so, use (buffer-file-name) instead.
No, I would like to insert a different file.
> I suggest you ask on yasnippet group, the author always answers there.
Ok., thanks for the hint.

Greetings!
 Fabian


reply via email to

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