bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19102: 24.4; outline-move-subtree-up/down error at last and second-l


From: Paul Rankin
Subject: bug#19102: 24.4; outline-move-subtree-up/down error at last and second-last subtree
Date: Thu, 20 Nov 2014 23:26:09 +1000

Stephen Berman <stephen.berman@gmx.net> writes:

>> Sorry if there is some very obvious reason I'm missing, but can't we
>> just change
>>
>>     (= (char-after) ?\n)
>>
>> to
>>
>>     (eq (char-after) ?\n)
>>
>> ...?
>
> This has the same effect as Eli's suggestion of not calling forward-char
> at eob or wrapping it in condition-case: outline-move-subtree-up/down
> works if there's an empty line after the last subtree, but if not, it
> puts the last two subtree headers on the same line.
>
> Steve Berman

Sorry, I spoke far too soon there.

-- 
Paul W. Rankin
http://www.paulwrankin.com





reply via email to

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