branch: externals/idlwave
commit 3c675c98373b053efe606ab3dd909842c5645a49
Author: jdsmith <jdsmith>
Commit: jdsmith <jdsmith>

    - New selection for new or old help link format ("#" vs "#wp").
    - Always prefer HTML help over in-text help, if available.
---
 idlw-help.el | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/idlw-help.el b/idlw-help.el
index f0005d3a68..54776ef6e0 100644
--- a/idlw-help.el
+++ b/idlw-help.el
@@ -48,6 +48,14 @@
   "Online Help options for IDLWAVE mode."
   :group 'idlwave)
 
+(defcustom idlwave-html-help-pre-v6 nil
+  "Whether pre or post-v6.0 IDL help documents are being used."
+  :group 'idlwave-online-help
+  :type 'boolean)
+
+(defvar idlwave-html-link-sep 
+  (if idlwave-html-help-pre-v6 "#" "#wp"))
+
 (defcustom idlwave-html-help-location 
   (if (memq system-type '(ms-dos windows-nt))
       nil
@@ -687,7 +695,7 @@ see if a link is set for it.  Try extra help functions if 
necessary."
   ;; Lookup link
   (if (eq link t) 
       (let ((entry (idlwave-best-rinfo-assoc name type class 
-                                            (idlwave-routines))))
+                                            (idlwave-routines) nil t)))
        (cond
         ;; Try keyword link
         ((and keyword 

Reply via email to