Skip to content

Commit

Permalink
Check for idl_catalog.xml directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtsmith committed Feb 11, 2011
1 parent 677dd1d commit e9d1908
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion idlwave.el
Expand Up @@ -4644,7 +4644,8 @@ information updated immediately, leave NO-CONCATENATE nil."
(defun idlwave-xml-system-routine-info-file()
(let* ((dir (file-name-as-directory
(expand-file-name "help/" (idlwave-sys-dir)))))
(if (file-directory-p (expand-file-name "online_help" dir))
(if (and (not (file-exists-p (expand-file-name "idl_catalog.xml" dir)))
(file-directory-p (expand-file-name "online_help" dir)))
(setq dir (expand-file-name "online_help" dir)))
(expand-file-name "idl_catalog.xml" dir)))

Expand Down

0 comments on commit e9d1908

Please sign in to comment.