mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
Fix incompatible -t and -r options in emacsclient
* lib-src/emacsclient.c (decode_options): Do not allow -t and -r together.
This commit is contained in:
parent
6d3cea2c8e
commit
5f97a085be
@ -568,6 +568,7 @@ decode_options (int argc, char **argv)
|
||||
case 't':
|
||||
tty = true;
|
||||
create_frame = true;
|
||||
reuse_frame = false;
|
||||
break;
|
||||
|
||||
case 'c':
|
||||
@ -576,7 +577,8 @@ decode_options (int argc, char **argv)
|
||||
|
||||
case 'r':
|
||||
create_frame = true;
|
||||
reuse_frame = true;
|
||||
if (!tty)
|
||||
reuse_frame = true;
|
||||
break;
|
||||
|
||||
case 'p':
|
||||
|
Loading…
Reference in New Issue
Block a user