[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] set modes for org-edit-special (elisp block)
From: |
Nick Dokos |
Subject: |
Re: [O] set modes for org-edit-special (elisp block) |
Date: |
Mon, 25 Jan 2016 12:37:21 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Alan Schmitt <address@hidden> writes:
> I’m having the same problem with python: I’m still in emacs-lisp mode.
> I checked the value of the variable and it is as expected. For some
> reason the change is not picked up. Is it because there are several
> occurrences of "elisp" in the list and it’s not the first one that is
> picked up?
>
org-src--get-lang-mode uses assoc, so it should pick up the first pair
whose car matches. You can try it by hand:
(org-src--get-lang-mode "elisp")
Of course, it's possible (but unlikely) that somebody is using some
other way to get at the mode.
--
Nick
- [O] set modes for org-edit-special (elisp block), Stefan Huchler, 2016/01/24
- Re: [O] set modes for org-edit-special (elisp block), Kyle Meyer, 2016/01/24
- Re: [O] set modes for org-edit-special (elisp block), Stefan Huchler, 2016/01/24
- Re: [O] set modes for org-edit-special (elisp block), Kyle Meyer, 2016/01/24
- Re: [O] set modes for org-edit-special (elisp block), Alan Schmitt, 2016/01/25
- Re: [O] set modes for org-edit-special (elisp block), Kyle Meyer, 2016/01/25
- Re: [O] set modes for org-edit-special (elisp block), Alan Schmitt, 2016/01/25
- Re: [O] set modes for org-edit-special (elisp block), Kyle Meyer, 2016/01/25
- Re: [O] set modes for org-edit-special (elisp block),
Nick Dokos <=
- Re: [O] set modes for org-edit-special (elisp block), Alan Schmitt, 2016/01/26