diff options
author | Glenn Morris <rgm@gnu.org> | 2020-03-05 17:11:51 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2020-03-05 17:11:51 -0800 |
commit | c996fe1ec69de0082043397d4965d08cb94892fb (patch) | |
tree | 32ca2cf976e900d25300bebcec109fc51babef18 | |
parent | 7e8b8da9e30c8b3dcb2f7740406358e00a1a42f8 (diff) | |
download | emacs-c996fe1ec69de0082043397d4965d08cb94892fb.tar.gz |
Remove ancient OS X process-connection-type handling
* src/process.c (init_process_emacs) [DARWIN_OS]:
Remove process-connection-type special-casing
for OS X < 10.3 (ie pre-2003).
Ref https://lists.gnu.org/r/emacs-devel/2005-01/msg00741.html
-rw-r--r-- | src/emacs.c | 1 | ||||
-rw-r--r-- | src/process.c | 13 |
2 files changed, 0 insertions, 14 deletions
diff --git a/src/emacs.c b/src/emacs.c index 8b27c63f731..ea9c4cd79dc 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1964,7 +1964,6 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem /* This calls putenv and so must precede init_process_emacs. */ init_timefns (); - /* This sets Voperating_system_release, which init_process_emacs uses. */ init_editfns (); /* These two call putenv. */ diff --git a/src/process.c b/src/process.c index 91d426103d8..e4e5e57aeee 100644 --- a/src/process.c +++ b/src/process.c @@ -8277,19 +8277,6 @@ init_process_emacs (int sockfd) memset (datagram_address, 0, sizeof datagram_address); #endif -#if defined (DARWIN_OS) - /* PTYs are broken on Darwin < 6, but are sometimes useful for interactive - processes. As such, we only change the default value. */ - if (initialized) - { - char const *release = (STRINGP (Voperating_system_release) - ? SSDATA (Voperating_system_release) - : 0); - if (!release || !release[0] || (release[0] < '7' && release[1] == '.')) { - Vprocess_connection_type = Qnil; - } - } -#endif #endif /* subprocesses */ kbd_is_on_hold = 0; } |