Problem with org-mode code structure "#+begin_src lisp" in spacemacs

Viewed 84

when I'm writting a code in lisp in a org-mode file. I started a block

      #+begin_src lisp
      #+end_src

When I write the fist line no problem, functions names highlight correctly.

      #+begin_src lisp
      (defun myappend (L1 L2)
(cond

          
      #+end_src

but when I press enter on the second line, it starts to be weird.

      #+begin_src lisp
        (d    efun myappend (L1 L2)
(c        ond

                        
    
      #+end_src

Indentation is inserted in the code. Do you know what I'm doing wrong?

0 Answers
Related