emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] lexical-binding is not set for org src mode


From: Suvayu Ali
Subject: Re: [O] lexical-binding is not set for org src mode
Date: Wed, 28 Aug 2013 01:31:39 +0200
User-agent: Mutt/1.5.21 (2012-12-30)

On Wed, Aug 28, 2013 at 03:53:39AM +0900, Jisang Yoo wrote:
> elisp code blocks do not recognize lexical-binding in org src edit
> mode. For example, if I press C-c . on the following block, the buffer
> does not have lexical-binding set to t.
> 
> #+BEGIN_SRC elisp
>   ;; -*- lexical-binding: t; -*-
> 
>   (message "%S" lexical-binding)
> #+END_SRC
> 

I think this is because org-edit-special lets you edit in an indirect
buffer.  I do not thing property lines are respected in indirect
buffers.

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

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