emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] muse: another bug fix for muse-visit-link-default


From: Jim Ottaway
Subject: [emacs-wiki-discuss] muse: another bug fix for muse-visit-link-default
Date: Fri, 21 Oct 2005 17:33:12 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

I have found another problem with this function: it doesn't handle
forward references correctly; when, that is, a link to an anchor
precedes the anchor itself in the file.  It's a trivial fix, so either
replace

(unless (re-search-forward (concat anchor "\\b") nil t)

with

(unless (re-search-forward (concat "\\W" anchor "\\b") nil t)

or get the patch at 

Location: http://www.users.zetnet.co.uk/jeho/archives/2005
Archive name: address@hidden
Branch: muse--jeho--1.0
Patch: 10

-- 
Jim Ottaway




reply via email to

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