diff options
| author | Glenn Morris | 2015-08-15 10:40:06 -0700 |
|---|---|---|
| committer | Glenn Morris | 2015-08-15 10:40:06 -0700 |
| commit | 208cfda3aa174d81952ff35272a467f8cb7e539e (patch) | |
| tree | b37fa0de3ede131908eed9eb81c23c4ec1994973 | |
| parent | 2ff8791d61b81a72b8c7d288ebcd352b696584a7 (diff) | |
| download | emacs-208cfda3aa174d81952ff35272a467f8cb7e539e.tar.gz emacs-208cfda3aa174d81952ff35272a467f8cb7e539e.zip | |
* admin/admin.el (set-version, set-copyright): Remove deleted files.
; * src/emacs,c, lib-src/ntlib.c: Comment updates.
| -rw-r--r-- | admin/admin.el | 13 | ||||
| -rw-r--r-- | lib-src/ntlib.c | 2 | ||||
| -rw-r--r-- | src/emacs.c | 2 |
3 files changed, 2 insertions, 15 deletions
diff --git a/admin/admin.el b/admin/admin.el index 267f2c4afea..914f187b1e8 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -88,21 +88,12 @@ Root must be the root of an Emacs source tree." | |||
| 88 | (rx (and "AC_INIT" (1+ (not (in ?,))) | 88 | (rx (and "AC_INIT" (1+ (not (in ?,))) |
| 89 | ?, (0+ space) | 89 | ?, (0+ space) |
| 90 | (submatch (1+ (in "0-9.")))))) | 90 | (submatch (1+ (in "0-9.")))))) |
| 91 | ;; No longer used, broken in multiple ways, updating version seems pointless. | ||
| 92 | (set-version-in-file root "nt/config.nt" version | ||
| 93 | (rx (and bol "#" (0+ blank) "define" (1+ blank) | ||
| 94 | "VERSION" (1+ blank) "\"" | ||
| 95 | (submatch (1+ (in "0-9.")))))) | ||
| 96 | ;; TODO: msdos could easily extract the version number from | 91 | ;; TODO: msdos could easily extract the version number from |
| 97 | ;; configure.ac with sed, rather than duplicating the information. | 92 | ;; configure.ac with sed, rather than duplicating the information. |
| 98 | (set-version-in-file root "msdos/sed2v2.inp" version | 93 | (set-version-in-file root "msdos/sed2v2.inp" version |
| 99 | (rx (and bol "/^#undef " (1+ not-newline) | 94 | (rx (and bol "/^#undef " (1+ not-newline) |
| 100 | "define VERSION" (1+ space) "\"" | 95 | "define VERSION" (1+ space) "\"" |
| 101 | (submatch (1+ (in "0-9.")))))) | 96 | (submatch (1+ (in "0-9.")))))) |
| 102 | ;; No longer used, broken in multiple ways, updating version seems pointless. | ||
| 103 | (set-version-in-file root "nt/makefile.w32-in" version | ||
| 104 | (rx (and "VERSION" (0+ space) "=" (0+ space) | ||
| 105 | (submatch (1+ (in "0-9.")))))) | ||
| 106 | ;; Major version only. | 97 | ;; Major version only. |
| 107 | (when (string-match "\\([0-9]\\{2,\\}\\)" version) | 98 | (when (string-match "\\([0-9]\\{2,\\}\\)" version) |
| 108 | (setq version (match-string 1 version)) | 99 | (setq version (match-string 1 version)) |
| @@ -134,10 +125,6 @@ Root must be the root of an Emacs source tree." | |||
| 134 | (rx (and bol "/^#undef " (1+ not-newline) | 125 | (rx (and bol "/^#undef " (1+ not-newline) |
| 135 | "define COPYRIGHT" (1+ space) | 126 | "define COPYRIGHT" (1+ space) |
| 136 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) | 127 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) |
| 137 | (set-version-in-file root "nt/config.nt" copyright | ||
| 138 | (rx (and bol "#" (0+ blank) "define" (1+ blank) | ||
| 139 | "COPYRIGHT" (1+ blank) | ||
| 140 | ?\" (submatch (1+ (not (in ?\")))) ?\"))) | ||
| 141 | (set-version-in-file root "lib-src/rcs2log" copyright | 128 | (set-version-in-file root "lib-src/rcs2log" copyright |
| 142 | (rx (and "Copyright" (0+ space) ?= (0+ space) | 129 | (rx (and "Copyright" (0+ space) ?= (0+ space) |
| 143 | ?\' (submatch (1+ nonl))))) | 130 | ?\' (submatch (1+ nonl))))) |
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c index 7d9dff9904c..37b847ba6e7 100644 --- a/lib-src/ntlib.c +++ b/lib-src/ntlib.c | |||
| @@ -302,7 +302,7 @@ is_exec (const char * name) | |||
| 302 | stricmp (p, ".cmd") == 0)); | 302 | stricmp (p, ".cmd") == 0)); |
| 303 | } | 303 | } |
| 304 | 304 | ||
| 305 | /* FIXME? This is in config.nt now - is this still needed? */ | 305 | /* FIXME? This is in configure.ac now - is this still needed? */ |
| 306 | #define IS_DIRECTORY_SEP(x) ((x) == '/' || (x) == '\\') | 306 | #define IS_DIRECTORY_SEP(x) ((x) == '/' || (x) == '\\') |
| 307 | 307 | ||
| 308 | /* We need this because nt/inc/sys/stat.h defines struct stat that is | 308 | /* We need this because nt/inc/sys/stat.h defines struct stat that is |
diff --git a/src/emacs.c b/src/emacs.c index aace618b300..80bb70cedeb 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -2429,7 +2429,7 @@ Special values: | |||
| 2429 | Anything else (in Emacs 24.1, the possibilities are: aix, berkeley-unix, | 2429 | Anything else (in Emacs 24.1, the possibilities are: aix, berkeley-unix, |
| 2430 | hpux, irix, usg-unix-v) indicates some sort of Unix system. */); | 2430 | hpux, irix, usg-unix-v) indicates some sort of Unix system. */); |
| 2431 | Vsystem_type = intern_c_string (SYSTEM_TYPE); | 2431 | Vsystem_type = intern_c_string (SYSTEM_TYPE); |
| 2432 | /* See configure.ac (and config.nt) for the possible SYSTEM_TYPEs. */ | 2432 | /* See configure.ac for the possible SYSTEM_TYPEs. */ |
| 2433 | 2433 | ||
| 2434 | DEFVAR_LISP ("system-configuration", Vsystem_configuration, | 2434 | DEFVAR_LISP ("system-configuration", Vsystem_configuration, |
| 2435 | doc: /* Value is string indicating configuration Emacs was built for. */); | 2435 | doc: /* Value is string indicating configuration Emacs was built for. */); |