[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] c-c ' strips final newline or adds blank line, but never neither
From: |
Thorsten Jolitz |
Subject: |
Re: [O] c-c ' strips final newline or adds blank line, but never neither |
Date: |
Fri, 25 Jul 2014 10:01:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Samuel Wales <address@hidden> writes:
> i find that when i do c-c ' on a source block, it either strips the
> final newline in the editing buffer or adds an unwanted blank line in
> the source block.
>
> i like to have final newlines in all of my buffers, including editing
> buffers. what setting allows this without introducing a blank line at
> the end of a source block?
,----[ C-h v org-src-strip-leading-and-trailing-blank-lines RET ]
| org-src-strip-leading-and-trailing-blank-lines is a variable defined
| in `org-src.el'. Its value is nil
|
| Documentation:
| If non-nil, blank lines are removed when exiting the code edit buffer.
`----
--
cheers,
Thorsten