From aa7e46604a9d49dea9d11baed9cabab61751b737 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 3 Mar 2002 20:09:47 +0000 Subject: [PATCH] (file_p): Rename arg `path' to `filename'. --- src/ChangeLog | 27 +++++++++++++++++++++++++++ src/xrdb.c | 8 ++++---- 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 @@ +2002-03-03 Richard M. Stallman + + * xrdb.c (file_p): Rename arg `path' to `filename'. + + * abbrev.c (Fexpand_abbrev): Increment plist as use count + only if it is an integer. + + * xfns.c (png_load): Set screen_gamma based on f->gamma. + If png_get_sRGB gives an answer, call png_set_gamma + using the default image gamma value. + + * lread.c (read1): When reading from a file, default string to + multibyte only if it has some multibyte characters. + + * print.c (print_object): Output multibyte chars 128...255 + using \x even if ! print_escape_multibyte. + + * xdisp.c (display_mode_element): Move the places where + bytepos, charpos, this, and lisp_string are set. + Use lisp_string to set bytepos. + + * xdisp.c (redisplay_internal): + Call clear_image_cache only if HAVE_WINDOW_SYSTEM. + + * xdisp.c (display_mode_element): Merge properties specified with + :propertize onto those that come with the string. + 2002-03-03 Eli Zaretskii * xdisp.c (syms_of_xdisp) : 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 () static int -file_p (path) - char *path; +file_p (filename) + char *filename; { struct stat status; - return (access (path, 4) == 0 /* exists and is readable */ - && stat (path, &status) == 0 /* get the status */ + return (access (filename, 4) == 0 /* exists and is readable */ + && stat (filename, &status) == 0 /* get the status */ && (S_ISDIR (status.st_mode)) == 0); /* not a directory */ } -- 2.39.5