+2002-06-22 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+
+ * WL-MK (wl-texinfo-format): Move condition for INFODIR into
+ wl-detect-info-directory.
+ (wl-detect-info-directory): Check INFODIR after WL-CFG is loaded.
+
2002-06-17 Yuuichi Teranishi <teranisi@gohome.org>
* WL-MK (wl-texinfo-install-file): Overwrite existing info.
)))
(defun wl-texinfo-format ()
- (unless INFODIR
- (setq INFODIR (wl-detect-info-directory)))
+ (wl-detect-info-directory)
(cond ((listp wl-info-lang)
(mapcar 'wl-texinfo-format-file wl-info-lang))
((stringp wl-info-lang)
(require 'info)
(if (fboundp 'info-initialize)
(info-initialize))
- (let ((infodir (car command-line-args-left))
- (info (wl-primary-info-file))
- previous INFODIR)
- (setq INFODIR
- (if (string= infodir "NONE")
- (if (setq previous
- (exec-installed-p info Info-directory-list
- COMPRESS-SUFFIX-LIST))
- ;;(progn
- ;;(condition-case nil (delete-file previous))
- (directory-file-name (file-name-directory previous));)
- (car Info-directory-list))
- infodir))
- (setq command-line-args-left (cdr command-line-args-left))
- (princ (format "INFODIR is %s\n\n" INFODIR))
- INFODIR))
+ (unless INFODIR
+ (let ((infodir (car command-line-args-left))
+ (info (wl-primary-info-file))
+ previous)
+ (setq INFODIR
+ (if (string= infodir "NONE")
+ (if (setq previous
+ (exec-installed-p info Info-directory-list
+ COMPRESS-SUFFIX-LIST))
+ ;;(progn
+ ;;(condition-case nil (delete-file previous))
+ (directory-file-name (file-name-directory previous));)
+ (car Info-directory-list))
+ infodir))
+ (setq command-line-args-left (cdr command-line-args-left))))
+ (princ (format "INFODIR is %s\n\n" INFODIR)))
(defun install-wl-info ()
(wl-texinfo-format)