Re: [O] Org-mode Babel does not show syntax highlight when open with another mode

2015-10-17 Thread Kyle Meyer
stardiviner writes: > I try to configure Org-mode to open ruby source code block with > `enh-ruby-mode`. > > configuration as following: > > #+BEGIN_SRC emacs-lisp > (with-eval-after-load 'enh-ruby-mode > (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby))) > #+END_SRC > > This will open co

[O] Org-mode Babel does not show syntax highlight when open with another mode

2015-10-05 Thread stardiviner
I try to configure Org-mode to open ruby source code block with `enh-ruby-mode`. configuration as following: #+BEGIN_SRC emacs-lisp (with-eval-after-load 'enh-ruby-mode (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby))) #+END_SRC This will open code block in `enh-ruby-mode` when you edit

[O] Org-mode Babel does not show syntax highlight when open with another mode

2015-10-05 Thread stardiviner
I try to configure Org-mode to open ruby source code block with `enh-ruby-mode`. configuration as following: #+BEGIN_SRC emacs-lisp (with-eval-after-load 'enh-ruby-mode (add-to-list 'org-src-lang-modes '("ruby" . enh-ruby))) #+END_SRC This will open code block in `enh-ruby-mode` when you edit