diff options
| author | Glenn Morris | 2012-08-09 20:02:10 -0400 |
|---|---|---|
| committer | Glenn Morris | 2012-08-09 20:02:10 -0400 |
| commit | 9374581a2448ff52315bc9a5037dcec504167702 (patch) | |
| tree | 017f604281be58c739d51347c5b4a7397b0b6eda /src | |
| parent | 59a428eb3f1accfe9da6212d2695870d63037bbe (diff) | |
| download | emacs-9374581a2448ff52315bc9a5037dcec504167702.tar.gz emacs-9374581a2448ff52315bc9a5037dcec504167702.zip | |
Move DIRECTORY_SEP from lisp.h to config.h
* configure.ac (DIRECTORY_SEP): Move here from src/lisp.h.
* src/lisp.h (DIRECTORY_SEP): Let configure set it.
* nt/config.nt (DIRECTORY_SEP): Move here from src/lisp.h.
* lib-src/movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
* lib-src/make-docfile.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
* lib-src/emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP):
Remove (they are in config.h now).
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/lisp.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 2d65dcb0860..3427f449586 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-08-10 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * lisp.h (DIRECTORY_SEP): Let configure set it. | ||
| 4 | |||
| 1 | 2012-08-09 Dmitry Antipov <dmantipov@yandex.ru> | 5 | 2012-08-09 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 6 | ||
| 3 | Use TSET for write access to Lisp_Object slots of struct terminal. | 7 | Use TSET for write access to Lisp_Object slots of struct terminal. |
diff --git a/src/lisp.h b/src/lisp.h index 025736e7fb5..4f1a8931e99 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3418,8 +3418,6 @@ extern char *egetenv (const char *); | |||
| 3418 | /* Set up the name of the machine we're running on. */ | 3418 | /* Set up the name of the machine we're running on. */ |
| 3419 | extern void init_system_name (void); | 3419 | extern void init_system_name (void); |
| 3420 | 3420 | ||
| 3421 | static char const DIRECTORY_SEP = '/'; | ||
| 3422 | |||
| 3423 | /* Use this to suppress gcc's warnings. */ | 3421 | /* Use this to suppress gcc's warnings. */ |
| 3424 | #ifdef lint | 3422 | #ifdef lint |
| 3425 | 3423 | ||