Samuel Wales <samolog...@gmail.com> 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