w3-dev
[Top][All Lists]
Advanced

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

[W3-dev] endless loop in w3-resurrect-hyperlinks


From: Pavel Janík
Subject: [W3-dev] endless loop in w3-resurrect-hyperlinks
Date: 12 May 2001 14:52:14 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.103

Hi,

in w3-display.el (w3-resurrect-hyperlinks) there is this loop:

    (while st
        ...
      (setq st (next-single-property-change nd 'w3-hyperlink-info)))))

This will end (at least on the pages I have tried) to an endless loop which
can be fixed by:

2001-05-12  Pavel Janík  <address@hidden>

        * w3-display.el (w3-resurrect-hyperlinks): fix endless loop.


--- w3.orig/lisp/w3-display.el  Sun Mar 18 19:33:35 2001
+++ w3/lisp/w3-display.el       Sat May 12 00:35:28 2001
@@ -2033,7 +2033,7 @@
                                                                 :button-keymap 
w3-display-hackmap
                                                                 :end nd)
                                                           info))))
-      (setq st (next-single-property-change nd 'w3-hyperlink-info)))))
+      (setq st (next-single-property-change st 'w3-hyperlink-info)))))
 
 (defun w3-display-convert-arglist (args)
   (let ((rval nil)

Please apply.

And now some questions: are there any people here on this list? Is there
any accessible archive of this list?
-- 
Pavel Janík

Be warned: emacs has a steep upward learning curve.
                  -- address@hidden in gnu.emacs.help

Attachment: pgpdCH5PpYDPp.pgp
Description: PGP signature


reply via email to

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