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: Eli Zaretskii
Subject: bug#19102: 24.4; outline-move-subtree-up/down error at last and second-last subtree
Date: Wed, 19 Nov 2014 22:32:06 +0200

> From: Stephen Berman <stephen.berman@gmx.net>
> Cc: paul@tilk.co,  19102@debbugs.gnu.org
> Date: Wed, 19 Nov 2014 21:14:42 +0100
> 
> > Wouldn't using eolp instead of the comparison solve that problem more
> > easily?
> 
> Well, that eliminates the wrong-type-argument error in the current code,
> but it instead signals "End of buffer"

>From forward-char?  If so, you could avoid the call if eobp.  Or wrap
the call in condition-case and ignore errors.

> Do you see any other problems with the patch or more room for
> improvement?

I was worried by the complexity of maybe-forward-char, but maybe now
it is much simpler.





reply via email to

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