aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/lispref/files.texi2
-rw-r--r--src/fileio.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi
index bb355f1ee35..f701d683703 100644
--- a/doc/lispref/files.texi
+++ b/doc/lispref/files.texi
@@ -2119,7 +2119,7 @@ backslash, or with a drive specification @samp{@var{x}:/}, where
2119 2119
2120@defun file-name-absolute-p filename 2120@defun file-name-absolute-p filename
2121This function returns @code{t} if file @var{filename} is an absolute 2121This function returns @code{t} if file @var{filename} is an absolute
2122file name, @code{nil} otherwise. 2122file name or begins with @samp{~}, @code{nil} otherwise.
2123 2123
2124@example 2124@example
2125@group 2125@group
diff --git a/src/fileio.c b/src/fileio.c
index 76ea7da0e81..fa694249cb7 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2470,8 +2470,8 @@ This happens for interactive use with M-x. */)
2470 2470
2471DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p, 2471DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p,
2472 1, 1, 0, 2472 1, 1, 0,
2473 doc: /* Return t if file FILENAME specifies an absolute file name. 2473 doc: /* Return t if FILENAME is an absolute file name or starts with `~'.
2474On Unix, this is a name starting with a `/' or a `~'. */) 2474On Unix, absolute file names start with `/'. */)
2475 (Lisp_Object filename) 2475 (Lisp_Object filename)
2476{ 2476{
2477 CHECK_STRING (filename); 2477 CHECK_STRING (filename);