mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
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).
This commit is contained in:
parent
59a428eb3f
commit
9374581a24
10 changed files with 34 additions and 39 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/* Client process that communicates with GNU Emacs acting as server.
|
||||
Copyright (C) 1986-1987, 1994, 1999-2012 Free Software Foundation, Inc.
|
||||
|
||||
Copyright (C) 1986-1987, 1994, 1999-2012 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Emacs.
|
||||
|
||||
|
|
@ -213,21 +214,6 @@ xmalloc (size_t size)
|
|||
/* From sysdep.c */
|
||||
#if !defined (HAVE_GET_CURRENT_DIR_NAME) || defined (BROKEN_GET_CURRENT_DIR_NAME)
|
||||
|
||||
/* From lisp.h */
|
||||
#ifndef DIRECTORY_SEP
|
||||
#define DIRECTORY_SEP '/'
|
||||
#endif
|
||||
#ifndef IS_DIRECTORY_SEP
|
||||
#define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP)
|
||||
#endif
|
||||
#ifndef IS_DEVICE_SEP
|
||||
#ifndef DEVICE_SEP
|
||||
#define IS_DEVICE_SEP(_c_) 0
|
||||
#else
|
||||
#define IS_DEVICE_SEP(_c_) ((_c_) == DEVICE_SEP)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
char *get_current_dir_name (void);
|
||||
|
||||
/* Return the current working directory. Returns NULL on errors.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue