aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-13 15:28:14 -0700
committerPaul Eggert2011-04-13 15:28:14 -0700
commitf44bd759cb8b78ee8759f4681643807fe6c572ff (patch)
treedfbb91c803cc2d8c0ac1932958ced573affbf6a8 /src/process.c
parentb532497da492ad9fef912bdf41d7f57c6f5bd833 (diff)
downloademacs-f44bd759cb8b78ee8759f4681643807fe6c572ff.tar.gz
emacs-f44bd759cb8b78ee8759f4681643807fe6c572ff.zip
* editfns.c: Move a (normally-unused) function to its only use.
* editfns.c, lisp.h (get_operating_system_release): Remove. * process.c (init_process) [DARWIN_OS]: Do it inline, as it is not worth the hassle of breaking this out.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 89d04081eb7..51546e7c78a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7188,7 +7188,9 @@ init_process (void)
7188 processes. As such, we only change the default value. */ 7188 processes. As such, we only change the default value. */
7189 if (initialized) 7189 if (initialized)
7190 { 7190 {
7191 const char *release = get_operating_system_release (); 7191 char const *release = (STRINGP (Voperating_system_release)
7192 ? SSDATA (Voperating_system_release)
7193 : 0);
7192 if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION 7194 if (!release || !release[0] || (release[0] < MIN_PTY_KERNEL_VERSION
7193 && release[1] == '.')) { 7195 && release[1] == '.')) {
7194 Vprocess_connection_type = Qnil; 7196 Vprocess_connection_type = Qnil;