# HG changeset patch # User HIROSE Yuuji # Date 1496016671 -32373 # Node ID c940797c19adfd941d414042b5f375537aedeeee # Parent 9db0e1522847339df5f6ffe8e59766f3ce4ca53e href target of file should be untranslated before find-file diff -r 9db0e1522847 -r c940797c19ad yahtml.el --- a/yahtml.el Tue May 23 11:43:34 2017 +0859 +++ b/yahtml.el Mon May 29 09:10:44 2017 +0859 @@ -1,6 +1,6 @@ ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- ;;; (c) 1994-2017 by HIROSE Yuuji [yuuji(@)yatex.org] -;;; Last modified Tue May 16 12:56:27 2017 on firestorm +;;; Last modified Mon May 29 09:10:43 2017 on firestorm ;;; $Id$ (defconst yahtml-revision-number "1.79.3" @@ -1918,7 +1918,9 @@ (cond ((string-match "^\\(ht\\|f\\)tps?:" href) (yahtml-browse-html href)) - (t (setq file (substring href 0 (string-match "#" href))) + (t (if (string-match "\&" href) + (setq href (yahtml-untranslate-string href))) + (setq file (substring href 0 (string-match "#" href))) (if (string-match "#" href) (setq name (substring href (1+ (string-match "#" href))))) (if (string< "" file)