# HG changeset patch
# User Geoff Voelker <voelker@cs.washington.edu>
# Date 801519099 0
# Node ID 5c923b88c9dafd7d0bc9b86915dba7706f71f121
# Parent  581775d8ec7a9eacd3d5dc072f72bbb17afa1751
(command-line): Handle nil command-line-args.

diff -r 581775d8ec7a -r 5c923b88c9da lisp/startup.el
--- a/lisp/startup.el	Fri May 26 18:56:09 1995 +0000
+++ b/lisp/startup.el	Fri May 26 20:11:39 1995 +0000
@@ -438,7 +438,7 @@
 	     (error "Option `%s' doesn't allow an argument" argi))))
 
     ;; Re-attach the program name to the front of the arg list.
-    (setcdr command-line-args args))
+    (and command-line-args (setcdr command-line-args args)))
 
   ;; Under X Windows, this creates the X frame and deletes the terminal frame.
   (if (fboundp 'face-initialize)