diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-16 18:31:23 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-16 18:31:23 +0000 |
commit | aeca1d077af902905cd85cbcbc30a0768e5c198b (patch) | |
tree | 43a3f4efb494d9616a02224d2e78de429a34d171 /src/xrdb.c | |
parent | 9ba6d2a75b5a4a52fe0c5478ffadb90df9771980 (diff) | |
download | emacs-aeca1d077af902905cd85cbcbc30a0768e5c198b.tar.gz |
(get_system_app): Use PATH_X_DEFAULTS.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r-- | src/xrdb.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index 521dd31bf2d..5546ec75b08 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -364,19 +364,6 @@ search_magic_path (search_path, class, escaped_suffix, suffix) /* Producing databases for individual sources. */ -#define X_DEFAULT_SEARCH_PATH "/usr/X11R6/lib/X11/%L/%T/%N%C%S:\ -/usr/X11R6/lib/X11/%l/%T/%N%C%S:\ -/usr/X11R6/lib/X11/%T/%N%C%S:\ -/usr/X11R6/lib/X11/%L/%T/%N%S:\ -/usr/X11R6/lib/X11/%l/%T/%N%S:\ -/usr/X11R6/lib/X11/%T/%N%S:\ -/usr/lib/X11/%L/%T/%N%C%S:\ -/usr/lib/X11/%l/%T/%N%C%S:\ -/usr/lib/X11/%T/%N%C%S:\ -/usr/lib/X11/%L/%T/%N%S:\ -/usr/lib/X11/%l/%T/%N%S:\ -/usr/lib/X11/%T/%N%S" - static XrmDatabase get_system_app (class) char *class; @@ -385,7 +372,7 @@ get_system_app (class) char *path; path = getenv ("XFILESEARCHPATH"); - if (! path) path = X_DEFAULT_SEARCH_PATH; + if (! path) path = PATH_X_DEFAULTS; path = search_magic_path (path, class, 0, 0); if (path) |