From: yamaoka Date: Wed, 25 Aug 1999 07:57:19 +0000 (+0000) Subject: Use `if' instead of `when'. X-Git-Tag: semi-1_13_6~11 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c5a7ea3d8fd03a4b62471e9f1b6cb5bc56ff6ada;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)