From 8baeb37a954d035419ed3309621cba3465f99f32 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 13 Jun 2013 13:59:10 -0400 Subject: [PATCH] tty-handle-args fix for bug#14608 * startup.el (tty-handle-args): Don't just discard "--" and anything after. --- lisp/ChangeLog | 3 +++ lisp/startup.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ed8840a450..89d970ace1f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-06-13 Glenn Morris + * startup.el (tty-handle-args): + Don't just discard "--" and anything after. (Bug#14608) + * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes. 2013-06-13 Michael Albinus diff --git a/lisp/startup.el b/lisp/startup.el index b7b4c156f02..f21e8c4aa11 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -715,7 +715,7 @@ opening the first frame (e.g. open a connection to an X server).") default-frame-alist)) (t (push argi rest))))) - (nreverse rest))) + (nconc (nreverse rest) args))) (declare-function x-get-resource "frame.c" (attribute class &optional component subclass)) -- 2.39.2