X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/5ed99d3685cc8d13f8e4c63ad449a6e4d63c8eb0..a7fecaa0c5f8247c3b3747506201ec2a2ecbe292:/lisp/talk.el diff --git a/lisp/talk.el b/lisp/talk.el index c16255f774..79e4669a42 100644 --- a/lisp/talk.el +++ b/lisp/talk.el @@ -1,6 +1,6 @@ ;;; talk.el --- allow several users to talk to each other through Emacs -;; Copyright (C) 1995, 2001-2011 Free Software Foundation, Inc. +;; Copyright (C) 1995, 2001-2014 Free Software Foundation, Inc. ;; Maintainer: FSF ;; Keywords: comm, frames @@ -50,7 +50,7 @@ Each element has the form (DISPLAY FRAME BUFFER).") (let ((type (frame-live-p (selected-frame)))) (if (or (eq type t) (eq type 'x)) (talk-add-display - (terminal-name (frame-terminal (selected-frame)))) + (terminal-name (frame-terminal))) (error "Unknown frame type"))) (talk-update-buffers)) @@ -111,7 +111,7 @@ Select the first of these windows, displaying the first of the buffers." (while (progn (switch-to-buffer (car buffers)) (setq buffers (cdr buffers))) - (split-window-vertically lines-per-buffer) + (split-window-below lines-per-buffer) (other-window 1)) (select-window (frame-first-window frame))) (select-frame old-frame))))