[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Docstring for system-type

From: Steven Tamm
Subject: Re: Docstring for system-type
Date: Tue, 11 Jan 2005 20:12:58 -0800

The darwin string should say "Compile for Mac OS X or Darwin" since it works perfectly on GNU-Darwin x86.


On Jan 11, 2005, at 2:41 PM, Stefan Monnier wrote:

I can never remember which value of `system-type' is used for which system,
so I think the docstring should simply list them.

Any objection/addition/adjustment/clarification ?


--- orig/src/emacs.c
+++ mod/src/emacs.c
@@ -1,6 +1,6 @@
 /* Fully extensible Emacs, running on Unix, intended for GNU.
-   Copyright (C) 1985,86,87,93,94,95,97,98,1999,2001,02,03,2004
-      Free Software Foundation, Inc.
+ Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1997, 1998, 1999, 2001,
+     2002, 2003, 2004, 2005  Free Software Foundation, Inc.

 This file is part of GNU Emacs.

@@ -2439,7 +2439,16 @@
 Many arguments are deleted from the list as they are processed.  */);

   DEFVAR_LISP ("system-type", &Vsystem_type,
- doc: /* Value is symbol indicating type of operating system you are using. */); + doc: /* Value is symbol indicating type of operating system you are using.
+Special values:
+  `ms-dos'      compiled as an MS-DOS application.
+  `windows-nt'  compiled as a native W32 application.
+  `cygwin'      compiled using the Cygwin library.
+  `vax-vms' or `axp-vms': Running on a (Open)VMS system.
+  `macos'       compiled for Mac OS 9.
+  `darwin'      compiled for Mac OS X.
+  `gnu/linux'   compiled for the GNU/Linux system.
+Anything else indicates some sort of Unix system.  */);
   Vsystem_type = intern (SYSTEM_TYPE);

   DEFVAR_LISP ("system-configuration", &Vsystem_configuration,

Emacs-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]