diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-04-22 03:37:30 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-04-22 03:37:30 +0000 |
commit | e0c3684aca21b1eb1418271a6f8b97dbd035f419 (patch) | |
tree | 6cf01853119f7ab66461eab0dad357ff718c6053 /src/terminal.c | |
parent | 5222de629887cc1c97da051ca28dba3c6fa51373 (diff) | |
download | emacs-e0c3684aca21b1eb1418271a6f8b97dbd035f419.tar.gz |
Minor comment fix.
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/terminal.c b/src/terminal.c index f9001bbad38..d9951dba464 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -190,10 +190,10 @@ ins_del_lines (struct frame *f, int vpos, int n) -/* Return the terminal object specified by TERMINAL. TERMINAL may be a - terminal id, a frame, or nil for the terminal device of the current - frame. If THROW is zero, return NULL for failure, otherwise throw - an error. */ +/* Return the terminal object specified by TERMINAL. TERMINAL may be + a terminal object, a frame, or nil for the terminal device of the + current frame. If THROW is zero, return NULL for failure, + otherwise throw an error. */ struct terminal * get_terminal (Lisp_Object terminal, int throw) @@ -205,11 +205,8 @@ get_terminal (Lisp_Object terminal, int throw) if (TERMINALP (terminal)) result = XTERMINAL (terminal); - else if (FRAMEP (terminal)) - { - result = FRAME_TERMINAL (XFRAME (terminal)); - } + result = FRAME_TERMINAL (XFRAME (terminal)); if (result && !result->name) result = NULL; |