emacs-orgmode
[Top][All Lists]
Advanced

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

[O] confirmed: org-mode works with yasnippets 0.8.0 (beta)


From: Seong-Kook Shin
Subject: [O] confirmed: org-mode works with yasnippets 0.8.0 (beta)
Date: Mon, 19 Nov 2012 14:09:03 +0900

Hi,

I just want to let you know that org-mode (org-20121112 from package.el) is working well with yasnippets 0.8.0 (beta)
with following configuration:

(defun yas-org-very-safe-expand ()
  (let ((yas-fallback-behavior 'return-nil))
    (and (fboundp 'yas-expand) (yas-expand))))

(add-hook 'org-mode-hook
          (lambda ()
            (add-to-list 'org-tab-first-hook
                         'yas-org-very-safe-expand)
            ))

You may update the documentation with the above settings.
(Note that this does not works with the old version of yasnippets)

Thanks.

--
C FAQs: http://c-faq.com/
Korean: http://www.cinsk.org/cfaqs/

reply via email to

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