aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-03-03 20:09:47 +0000
committerRichard M. Stallman2002-03-03 20:09:47 +0000
commitaa7e46604a9d49dea9d11baed9cabab61751b737 (patch)
tree4068384d24f766a35302a86784d559ff2124c174 /src
parent8d3208722e7dbe1d46db845cec37d02ff4a3cff9 (diff)
downloademacs-aa7e46604a9d49dea9d11baed9cabab61751b737.tar.gz
emacs-aa7e46604a9d49dea9d11baed9cabab61751b737.zip
(file_p): Rename arg `path' to `filename'.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog27
-rw-r--r--src/xrdb.c8
2 files changed, 31 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 5a46775ed5c..1db79cfc82c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,30 @@
12002-03-03 Richard M. Stallman <rms@gnu.org>
2
3 * xrdb.c (file_p): Rename arg `path' to `filename'.
4
5 * abbrev.c (Fexpand_abbrev): Increment plist as use count
6 only if it is an integer.
7
8 * xfns.c (png_load): Set screen_gamma based on f->gamma.
9 If png_get_sRGB gives an answer, call png_set_gamma
10 using the default image gamma value.
11
12 * lread.c (read1): When reading from a file, default string to
13 multibyte only if it has some multibyte characters.
14
15 * print.c (print_object): Output multibyte chars 128...255
16 using \x even if ! print_escape_multibyte.
17
18 * xdisp.c (display_mode_element): Move the places where
19 bytepos, charpos, this, and lisp_string are set.
20 Use lisp_string to set bytepos.
21
22 * xdisp.c (redisplay_internal):
23 Call clear_image_cache only if HAVE_WINDOW_SYSTEM.
24
25 * xdisp.c (display_mode_element): Merge properties specified with
26 :propertize onto those that come with the string.
27
12002-03-03 Eli Zaretskii <eliz@is.elta.co.il> 282002-03-03 Eli Zaretskii <eliz@is.elta.co.il>
2 29
3 * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from 30 * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from
diff --git a/src/xrdb.c b/src/xrdb.c
index e51a774dc47..87c8f4b285d 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -323,13 +323,13 @@ gethomedir ()
323 323
324 324
325static int 325static int
326file_p (path) 326file_p (filename)
327 char *path; 327 char *filename;
328{ 328{
329 struct stat status; 329 struct stat status;
330 330
331 return (access (path, 4) == 0 /* exists and is readable */ 331 return (access (filename, 4) == 0 /* exists and is readable */
332 && stat (path, &status) == 0 /* get the status */ 332 && stat (filename, &status) == 0 /* get the status */
333 && (S_ISDIR (status.st_mode)) == 0); /* not a directory */ 333 && (S_ISDIR (status.st_mode)) == 0); /* not a directory */
334} 334}
335 335