Fix window-system-default-frame-alist (ARISAWA Akihiro).
authorKaroly Lorentey <lorentey@elte.hu>
Thu, 27 May 2004 18:23:48 +0000 (18:23 +0000)
committerKaroly Lorentey <lorentey@elte.hu>
Thu, 27 May 2004 18:23:48 +0000 (18:23 +0000)
lisp/frame.el (make-frame): Use the cdr of the value returned by assq.
By ARISAWA Akihiro (<ari@mbf.ocn.ne.jp>).

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-180

README.multi-tty
lisp/frame.el

index 4f05a7a..649a015 100644 (file)
@@ -179,6 +179,7 @@ THANKS
 The following is an (incomplete) list of people who have contributed
 to the project by testing, bug reports, and suggestions.  Thanks!
 
+ARISAWA Akihiro <ari at mbf dot ocn dot ne dot jp>
 Robert J. Chassell <bob at rattlesnake dot com>
 Romain Francoise <romain at orebokech dot com>
 Ami Fischman <ami at fischman dot org>
index d8ddfa6..b02660d 100644 (file)
@@ -651,7 +651,8 @@ on `after-make-frame-functions' are run with one arg, the newly created frame."
       (error "Don't know how to create a frame on window system %s" w))
     (run-hooks 'before-make-frame-hook)
     (setq frame (funcall frame-creation-function parameters))
-    (modify-frame-parameters frame (assq w window-system-default-frame-alist))
+    (modify-frame-parameters frame
+                            (cdr (assq w window-system-default-frame-alist)))
     (run-hook-with-args 'after-make-frame-functions frame)
     frame))