Applied.
On 8/20/06, Denis Shaposhnikov <dsh@...> wrote:
> Hi!
>
> Here is a patch that fixes
> http://permalink.gmane.org/gmane.text.docutils.user/2966
>
> --- rst.el.orig Sun Aug 20 18:19:59 2006
> +++ rst.el Sun Aug 20 17:41:37 2006
> @@ -930,7 +930,9 @@
> (toggle-style
> (and current-prefix-arg (not reverse-direction))))
>
> - (if (and transient-mark-mode mark-active)
> + (if (or
> + (and (fboundp 'region-active-p) (region-active-p) (region-exists-p))
> + (and (boundp 'transient-mark-mode) transient-mark-mode mark-active))
> ;; Adjust decorations within region.
> (rst-promote-region current-prefix-arg)
> ;; Adjust decoration around point.
> @@ -1988,7 +1990,11 @@
> (error "Cannot mark zero sections"))
> (cond ((and allow-extend
> (or (and (eq last-command this-command) (mark t))
> - (and transient-mark-mode mark-active)))
> + (or
> + (and (fboundp 'region-active-p)
> + (region-active-p) (region-exists-p))
> + (and (boundp 'transient-mark-mode)
> + transient-mark-mode mark-active))))
> (set-mark
> (save-excursion
> (goto-char (mark))
>
> --
> DSS5-RIPE DSS-RIPN 2:550/5068@... 2:550/5069@...
> xmpp:dsh@... mailto:dsh@... http://neva.vlink.ru/~dsh/
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Docutils-develop mailing list
> Docutils-develop@...
> https://lists.sourceforge.net/lists/listinfo/docutils-develop
>
> Please use "Reply All" to reply to the list.
>
|