[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] a line in BEGIN_SRC/END_SRC block disappeared when publishing
From: |
Liang Wang |
Subject: |
Re: [O] a line in BEGIN_SRC/END_SRC block disappeared when publishing |
Date: |
Fri, 1 Jun 2012 22:15:30 +0800 |
Hi Bastien,
On Fri, Jun 1, 2012 at 9:01 PM, Bastien <address@hidden> wrote:
> Hi Liang,
>
> Liang Wang <address@hidden> writes:
>
>> #+BEGIN_SRC emacs-lisp
>> (eval-after-load 'yasnippet
>> '(yas/define-snippets
>> 'org-mode
>> '(("elisp" "#+BEGIN_SRC emacs-lisp
>> $0
>> ,#+END_SRC" "#+BEGIN_SRC emacs-lisp ... #+END_SRC"))))
>> #+END_SRC
>
> Why not this
>
> #+BEGIN_SRC emacs-lisp
> (eval-after-load 'yasnippet
> '(yas/define-snippets
> 'org-mode
> '(("elisp" "#+BEGIN_SRC emacs-lisp
> $0\n#+END_SRC" "#+BEGIN_SRC emacs-lisp ... #+END_SRC"))))
> #+END_SRC
>
Thanks. This one works.
Liang.