Stefan Huchler <stefan.huch...@mail.de> writes: > Kyle Meyer <k...@kyleam.com> 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