Adrian Aichner <adrian(a)xemacs.org> writes:
Hi Hrvoje,
makes sense to me after some checking.
I found the idiom
(when (and (region-active-p)
(eq (current-buffer) (zmacs-region-buffer)))
used in cmdloop.el and minibuf.el so I didn't question it at first and
just created the obvious patch.
Interestingly enough, it was originally added by me. I was annoyed
that C-g in the minibuffer deactivated the region instead of
cancelling the minibuffer.