summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-10-02 09:26:23 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-10-02 09:26:23 -0400
commit1c1425565ddbb555c5943690d435264d57454c81 (patch)
treee5e0a61f1d6988fd9cf693217c4f7b0db7b04499 /lisp/frame.el
parent4ea7bee0ab400eeb9e880e702fb7d3862ca05f91 (diff)
downloademacs-1c1425565ddbb555c5943690d435264d57454c81.tar.gz
emacs-1c1425565ddbb555c5943690d435264d57454c81.tar.bz2
emacs-1c1425565ddbb555c5943690d435264d57454c81.zip
* lisp/frame.el: Use lexical-binding.
(make-frame): Use t rather than nil for tty's window-system. * lisp/startup.el (command-line): Use gui-method. Fixes: debbugs:18598
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/frame.el b/lisp/frame.el
index 18aff5b2879..7fb21aa88cc 100644
--- a/lisp/frame.el
+++ b/lisp/frame.el
@@ -1,4 +1,4 @@
-;;; frame.el --- multi-frame management independent of window systems
+;;; frame.el --- multi-frame management independent of window systems -*- lexical-binding:t -*-
;; Copyright (C) 1993-1994, 1996-1997, 2000-2014 Free Software Foundation, Inc.
@@ -680,7 +680,7 @@ the new frame according to its own rules."
;; Now make the frame.
(run-hooks 'before-make-frame-hook)
(setq frame
- (funcall (gui-method frame-creation-function w) params))
+ (funcall (gui-method frame-creation-function (or w t)) params))
(normal-erase-is-backspace-setup-frame frame)
;; Inherit the original frame's parameters.
(dolist (param frame-inherited-parameters)