From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Using yasnippet with org Mode Date: Sun, 23 Nov 2008 13:11:23 -0800 Message-ID: <871vx2f8qs.fsf@gmail.com> References: <4929ADBB.6050809@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4MEr-0007eT-5u for emacs-orgmode@gnu.org; Sun, 23 Nov 2008 16:11:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4MEp-0007eH-K3 for emacs-orgmode@gnu.org; Sun, 23 Nov 2008 16:11:28 -0500 Received: from [199.232.76.173] (port=34600 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4MEp-0007eE-FN for emacs-orgmode@gnu.org; Sun, 23 Nov 2008 16:11:27 -0500 Received: from wa-out-1112.google.com ([209.85.146.179]:5658) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4MEp-0008A7-Da for emacs-orgmode@gnu.org; Sun, 23 Nov 2008 16:11:27 -0500 Received: by wa-out-1112.google.com with SMTP id n4so1642547wag.26 for ; Sun, 23 Nov 2008 13:11:25 -0800 (PST) In-Reply-To: <4929ADBB.6050809@manor-farm.org> (Ian Barton's message of "Sun, 23 Nov 2008 19:23:39 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ian Barton Cc: emacs-orgmode Org-Mode Ian Barton writes: > ;; Make Yasnippet play nicely with org mode. > (add-hook 'org-mode-hook > '(lambda () > (make-variable-buffer-local 'yas/trigger-key) > (setq yas/trigger-key [tab]))) > I think maybe your lambda should not be quoted, try ;; Make Yasnippet play nicely with org mode. (add-hook 'org-mode-hook (lambda () (make-variable-buffer-local 'yas/trigger-key) (setq yas/trigger-key [tab]))) -- Eric