emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] set modes for org-edit-special (elisp block)


From: Kyle Meyer
Subject: Re: [O] set modes for org-edit-special (elisp block)
Date: Sun, 24 Jan 2016 00:33:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hello,

Stefan Huchler <address@hidden> writes:

> Hi,
>
> org-edit-special opens elisp code with emacs-lisp mode, which is not
> bad, but I wanted to try out xah-elisp-mode for am while.
>
> tried to overwrite or shadow the settings with something like
>
> (add-to-list 'org-src-lang-modes '("xah-elisp" . emacs-lisp))
>
> am I here at the right place to change that behaviour?

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)

-- 
Kyle



reply via email to

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