emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [PATCH] Fix typos in yasnippet conflict entry


From: Eric Schulte
Subject: Re: [Orgmode] [PATCH] Fix typos in yasnippet conflict entry
Date: Fri, 14 Jan 2011 06:30:00 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Thanks for the patch.  It has been applied.

Jeffrey Horn <address@hidden> writes:

> Changed "yasnippets" to "yasnippet" and added extra whitespace around 
> functions to be consistent with the rest of the section.
> ---
>  doc/org.texi |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/doc/org.texi b/doc/org.texi
> index 4d696ae..a30d5b6 100644
> --- a/doc/org.texi
> +++ b/doc/org.texi
> @@ -13465,15 +13465,17 @@ fixed this problem:
>              (define-key yas/keymap [tab] 'yas/next-field-group)))
>  @end lisp
>  
> -The latest version of yasnippets doesn't play well with Org mode. If the
> +The latest version of yasnippet doesn't play well with Org mode. If the
>  above code does not fix the conflict, start by defining the following
>  function:
> +
>  @lisp
>  (defun yas/org-very-safe-expand ()
>         (let ((yas/fallback-behavior 'return-nil)) (yas/expand)))
>  @end lisp
>  
>  Then, tell Org mode what to do with the new function:
> +
>  @lisp
>  (add-hook 'org-mode-hook
>            (lambda ()



reply via email to

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