Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Remove ".html" unless anchored, for IDL 7.0

  • Loading branch information...
1 parent cc8cc7e commit 595045c953241662461de8425a3a9972411e748e @jdtsmith committed
Showing with 4 additions and 3 deletions.
  1. +4 −3 idlw-help.el
7 idlw-help.el
@@ -1294,9 +1294,10 @@ the idlhelp script.")
(defun idlwave-help-eclipse-help-open-link (&optional link)
"Start IDL Eclipse-Help (if needed), loading link FULL-LINK, if passed."
- (let ((command (idlwave-help-eclipse-help-command))
- (extra-args (if link `("-topic" ,link))))
- (apply 'call-process command nil 0 nil extra-args)))
+ (let ((command (idlwave-help-eclipse-help-command)))
+ (if (string-match "\.html$" link) ;; Strip HTML, unless anchored
+ (setq link (substring link 0 (match-beginning 0))))
+ (apply 'call-process command nil 0 nil (if link `("-topic" ,link)))))
;;----- Control the IDL Assistant, which shipped with IDL v6.2

0 comments on commit 595045c

Please sign in to comment.
Something went wrong with that request. Please try again.