Skip to content

Commit

Permalink
--no-sysinit => --no-siteinit
Browse files Browse the repository at this point in the history
  • Loading branch information
gnooth committed Mar 27, 2011
1 parent 167de59 commit 5db2424
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lisp/load-initialization-files.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@

(defun load-initialization-files ()
(let ((args (cdr sys:*argv*))
(no-sysinit nil)
(no-siteinit nil)
(no-userinit nil))
(when args
(dolist (arg args)
(cond ((equal arg "--no-sysinit")
(setq no-sysinit t))
(cond ((equal arg "--no-siteinit")
(setq no-siteinit t))
((equal arg "--no-userinit")
(setq no-userinit t)))))
(unless no-sysinit
(unless no-siteinit
(let ((sysinit (or (probe-file (merge-pathnames "xclrc" *xcl-home*))
#-win32
(probe-file "/etc/xclrc"))))
Expand Down

0 comments on commit 5db2424

Please sign in to comment.