On 2018-08-22, at 14:52, Nick Dokos <ndo...@gmail.com> wrote:

> Marcin Borkowski <mb...@mbork.pl> writes:
>
>> Hi all,
>>
>> I hoped this:
>>
>> #+begin_src diff
>>   @@ -1,5 +1,5 @@
>>   -lorem
>>   +Lorem
>>    ipsum
>>    dolor
>>    sit
>>   -amet
>>   +amet.
>> #+end_src
>>
>> would Just Work™, i.e., the diff would be font-locked like in
>> diff-mode.  Well, it is not.  How do I convince Org-mode to color my
>> diffs?
>>
>
> By somehow elimintating the indentation perhaps?

Thanks Nick (and John, in previous message).  This works indeed.

However, double C-c ' on the source block reintroduces the
indentation...

Still, I can live with it as-is.

Best,

-- 
Marcin Borkowski
http://mbork.pl

Reply via email to