Bernt Hansen schrieb:
Patrick Drechsler <[EMAIL PROTECTED]> writes:
I like the new feature in "literal examples" using #+BEGIN_SRC <mode>!
But how do I find which mode Emacs is using for a certain file type?
I could not figure out how to replace <mode> for simple C or CPP files.
What is the correct <mode> to insert?
[snip]
This works for me:
* C Source Example
#+BEGIN_SRC c
int main(void)
{
return 0;
}
#+END_SRC
[snip]
HTH
Yes, it did, thanks a lot Bernt!
Mmmh, I just have to many emacs devel versions currently on my system to
reproduce the original error at the moment...
But how do I find out which is the correct string for the Emacs mode?
Is there a `M-x describe-??' method?
Patrick
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode