emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Jeffrey Horn <jrhorn424@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Fix typos in yasnippet conflict entry
Date: Fri, 14 Jan 2011 06:30:00 -0700	[thread overview]
Message-ID: <87zkr37gfn.fsf@gmail.com> (raw)
In-Reply-To: 1294994007-7384-1-git-send-email-jrhorn424@gmail.com

Thanks for the patch.  It has been applied.

Jeffrey Horn <jrhorn424@gmail.com> 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	other threads:[~2011-01-14 13:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14  8:33 [PATCH] Fix typos in yasnippet conflict entry Jeffrey Horn
2011-01-14 13:30 ` Eric Schulte [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkr37gfn.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).