]> code.delx.au - gnu-emacs/blobdiff - lisp/talk.el
Update copyright year to 2014 by running admin/update-copyright.
[gnu-emacs] / lisp / talk.el
index 70a3376d8e84b993fcbc77caa3b22afbd831e383..79e4669a42b699538b808bd2dc7493d0f628bf6a 100644 (file)
@@ -1,6 +1,6 @@
 ;;; talk.el --- allow several users to talk to each other through Emacs
 
-;; Copyright (C) 1995, 2001-2012 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))