emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: [Babel] Macro for begin_src?


From: Erik Iverson
Subject: Re: [Orgmode] Re: [Babel] Macro for begin_src?
Date: Sat, 17 Apr 2010 09:06:58 -0500
User-agent: Thunderbird 2.0.0.24 (X11/20100411)


    I'm guessing what you really want there is

    (set (make-local-variable 'yas/trigger-key) [tab])

    instead of

     >               (make-variable-buffer-local 'yas/trigger-key)
     >               (setq yas/trigger-key [tab])


Hmmm.

Do you guys un-map your TAB key so that it doesn't run org-cycle?
My TAB key will correctly trigger yas/insert-snippet in emacs-lisp mode.
However, in org-mode my TAB key is still mapped to org-cycle, even if I add the org-mode hook using the code above.

Thanks,
--Nate


The order you do it might matter?




reply via email to

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