emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] org.texi: yasnippet nested snippet


From: Carsten Dominik
Subject: Re: [O] [PATCH] org.texi: yasnippet nested snippet
Date: Sat, 8 Oct 2011 18:33:02 +0200

Accepted, thanks.

- Carsten
On 26.8.2011, at 14:49, Sylvain Rousseau wrote:

> Hi,
> 
> The proposed workaround doesn't support nested snippet!
> 
> (setq yas/triggers-in-field t) to enable it.
> 
> Here is a patch to fix this:
> 
> diff --git a/doc/org.texi b/doc/org.texi
> index 002ada1..2295fd0 100644
> --- a/doc/org.texi
> +++ b/doc/org.texi
> @@ -14097,7 +14097,7 @@ Then, tell Org mode what to do with the new function:
>                (make-variable-buffer-local 'yas/trigger-key)
>                (setq yas/trigger-key [tab])
>                (add-to-list 'org-tab-first-hook 'yas/org-very-safe-expand)
> -              (define-key yas/keymap [tab] 'yas/next-field)))
> +              (define-key yas/keymap [tab] 'yas/next-field-or-maybe-expand)))
>  @end lisp
>  
>  @item @file{windmove.el} by Hovav Shacham
> 
> 
> Sylvain.




reply via email to

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