mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 21:07:36 +00:00
Improve doc for file-name-absolute-p.
This commit is contained in:
parent
cc7530cae0
commit
0becd64d63
2 changed files with 3 additions and 3 deletions
|
|
@ -2119,7 +2119,7 @@ backslash, or with a drive specification @samp{@var{x}:/}, where
|
|||
|
||||
@defun file-name-absolute-p filename
|
||||
This function returns @code{t} if file @var{filename} is an absolute
|
||||
file name, @code{nil} otherwise.
|
||||
file name or begins with @samp{~}, @code{nil} otherwise.
|
||||
|
||||
@example
|
||||
@group
|
||||
|
|
|
|||
|
|
@ -2470,8 +2470,8 @@ This happens for interactive use with M-x. */)
|
|||
|
||||
DEFUN ("file-name-absolute-p", Ffile_name_absolute_p, Sfile_name_absolute_p,
|
||||
1, 1, 0,
|
||||
doc: /* Return t if file FILENAME specifies an absolute file name.
|
||||
On Unix, this is a name starting with a `/' or a `~'. */)
|
||||
doc: /* Return t if FILENAME is an absolute file name or starts with `~'.
|
||||
On Unix, absolute file names start with `/'. */)
|
||||
(Lisp_Object filename)
|
||||
{
|
||||
CHECK_STRING (filename);
|
||||
|
|
|
|||
Loading…
Reference in a new issue