emacs-orgmode
[Top][All Lists]
Advanced

[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: Samuel Wales
Subject: Re: [O] c-c ' strips final newline or adds blank line, but never neither
Date: Fri, 25 Jul 2014 15:45:28 -0700

hi thorsten,

did you try it?

samuel


On 7/25/14, Thorsten Jolitz <address@hidden> wrote:
> 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
>
>
>


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]