Fix problem with moving trees in XEmacs.
commit520ff986091bb8af02e8ee16739df0a987cdaec3
authorCarsten Dominik <carsten.dominik@gmail.com>
Fri, 5 Dec 2008 08:39:37 +0000 (5 09:39 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Fri, 5 Dec 2008 08:39:37 +0000 (5 09:39 +0100)
treeaef23a662231c4c4a88687b8c041dd5c0e2e4210
parent4298df987ba7b448eb6041eb2d6edcf1e1cae8ba
Fix problem with moving trees in XEmacs.

Moving trees up or down with XEmacs caused a problem when the tree is
at the beginning if the buffer or narrowed region.  This patch
protects the relevant calls to outline-flag-region so that they are
only executed if the range is valid.
lisp/ChangeLog
lisp/org.el