Browse files

Check for idl_catalog.xml directly.

  • Loading branch information...
1 parent 677dd1d commit e9d19083b86e73f446f3a31682692a71d764462f @jdtsmith committed Feb 11, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 idlwave.el
@@ -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)))

0 comments on commit e9d1908

Please sign in to comment.