From: yamaoka Date: Wed, 25 Aug 1999 07:58:29 +0000 (+0000) Subject: Use `if' instead of `when'. X-Git-Tag: semi-pgpgpg_20~24 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72bdc98872554a9a8d7853215c81b82576365998;p=elisp%2Fsemi.git Use `if' instead of `when'. --- diff --git a/SEMI-CFG b/SEMI-CFG index 9847f86..7485f10 100644 --- a/SEMI-CFG +++ b/SEMI-CFG @@ -77,10 +77,11 @@ ;;; (let ((path (get-latest-path "bbdb" 'all-paths))) - (when path - (add-path path) - (add-path (expand-file-name "lisp" path)) ; run-in-place installation - )) + (if path + (progn + (add-path path) + (add-path (expand-file-name "lisp" path)) ; run-in-place installation + ))) ;; Or please specify path. ;; (add-path "bbdb-1.50" 'all-paths) @@ -91,10 +92,11 @@ ;;; (let ((path (get-latest-path "w3" 'all-paths))) - (when path - (add-path path) - (add-path (expand-file-name "lisp" path)) ; run-in-place installation - )) + (if path + (progn + (add-path path) + (add-path (expand-file-name "lisp" path)) ; run-in-place installation + ))) ;; Or please specify path. ;; (add-path "w3-4.0pre.20" 'all-paths)