Stefan Huchler <[email protected]> writes:
> Kyle Meyer <[email protected]> writes:
>
>>
>> Looks like you've got the right variable, but the key should be the
>> language name and the value should be major mode you want.
>>
>> ("elisp" . xah-emacs-lisp)
>
> I changed it a few times and I think I had it this way first, do I have
> to reload org after it? I closed the file and reopened it did not help.
Once you've modify org-src-lang-modes, it should work. Since I don't
have xah-emacs-lisp-mode installed, I've just tested it with
python-mode.
(add-to-list 'org-src-lang-modes '("elisp" . python))
After evaluating above, org-edit-special opens up
#+begin_src elisp
import sys
#+end_src
in python-mode.
--
Kyle