From: Jeffrey Horn <jrhorn424@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Jeffrey Horn <jrhorn424@gmail.com>
Subject: [PATCH] Fix typos in yasnippet conflict entry
Date: Fri, 14 Jan 2011 03:33:27 -0500 [thread overview]
Message-ID: <1294994007-7384-1-git-send-email-jrhorn424@gmail.com> (raw)
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 ()
--
1.7.3.5
next reply other threads:[~2011-01-14 8:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-14 8:33 Jeffrey Horn [this message]
2011-01-14 13:30 ` [PATCH] Fix typos in yasnippet conflict entry Eric Schulte
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=1294994007-7384-1-git-send-email-jrhorn424@gmail.com \
--to=jrhorn424@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).