]> code.delx.au - gnu-emacs/commitdiff
(command-line): Add --bare-bones alias for -Q.
authorKim F. Storm <storm@cua.dk>
Wed, 6 Apr 2005 10:43:29 +0000 (10:43 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 6 Apr 2005 10:43:29 +0000 (10:43 +0000)
lisp/startup.el

index cc60320882050699b7b5d9051cdc9b2cb0925ab1..5ef0dba00b320eed57fbcc72797c929ecce99539 100644 (file)
@@ -657,7 +657,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
     (while (and (not done) args)
       (let* ((longopts '(("--no-init-file") ("--no-site-file") ("--user")
                          ("--debug-init") ("--iconic") ("--icon-type")
-                        ("--no-blinking-cursor")))
+                        ("--no-blinking-cursor") ("--bare-bones")))
              (argi (pop args))
              (orig-argi argi)
              argval)
@@ -677,7 +677,7 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
                (setq argval nil
                       argi orig-argi)))))
        (cond
-        ((equal argi "-Q")
+        ((member argi '("-Q" "-bare-bones"))
          (setq init-file-user nil
                site-run-file nil
                no-blinking-cursor t