branch: externals/idlwave
commit 853872b2235f81d98b612feba6f424515c5c4fa7
Author: JD Smith <93749+jdtsm...@users.noreply.github.com>
Commit: JD Smith <93749+jdtsm...@users.noreply.github.com>

    Leave # unencoded in idl.htm#real/path/to/file help link style
---
 idlw-help.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/idlw-help.el b/idlw-help.el
index 3330331518..bcdf34eaaa 100644
--- a/idlw-help.el
+++ b/idlw-help.el
@@ -590,7 +590,9 @@ see if a link is set for it.  Try extra help functions if 
necessary."
        (setq link (file-relative-name link help-loc)
              help-loc (concat alternate "#")))
 
-    (setq full-link (browse-url-file-url (concat help-loc link)))
+    (setq full-link                    ; idl.htm likes the #
+         (let ((url-unreserved-chars (cons ?# url-unreserved-chars)))
+             (browse-url-file-url (concat help-loc link))))
 
     ;; Select the browser
     (cond

Reply via email to