diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2011-04-19 15:44:55 +0200 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2011-04-19 15:44:55 +0200 |
commit | 06b605171f1c9d8b42bd3326a243b8b03d2e4e58 (patch) | |
tree | e96c135042999136bf0e75d113aae306e51983e3 /lisp/talk.el | |
parent | 04c569546ad52f6270d8fc6d4aa0750950a0ac05 (diff) | |
download | emacs-06b605171f1c9d8b42bd3326a243b8b03d2e4e58.tar.gz |
lisp/*.el: Lexical-binding cleanup.
Diffstat (limited to 'lisp/talk.el')
-rw-r--r-- | lisp/talk.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/talk.el b/lisp/talk.el index fd845a7eee0..c16255f7742 100644 --- a/lisp/talk.el +++ b/lisp/talk.el @@ -47,10 +47,9 @@ Each element has the form (DISPLAY FRAME BUFFER).") (defun talk () "Connect to the Emacs talk group from the current X display or tty frame." (interactive) - (let ((type (frame-live-p (selected-frame))) - (display (frame-terminal (selected-frame)))) + (let ((type (frame-live-p (selected-frame)))) (if (or (eq type t) (eq type 'x)) - (talk-add-display + (talk-add-display (terminal-name (frame-terminal (selected-frame)))) (error "Unknown frame type"))) (talk-update-buffers)) |