comparison man/lispref/files.texi @ 54:05472e90ae02 r19-16-pre2

Import from CVS: tag r19-16-pre2
author cvs
date Mon, 13 Aug 2007 08:57:55 +0200
parents 376386a54a3c
children 131b0175ea99
comparison
equal deleted inserted replaced
53:875393c1a535 54:05472e90ae02
453 mechanisms for visiting. 453 mechanisms for visiting.
454 454
455 @deffn Command append-to-file start end filename 455 @deffn Command append-to-file start end filename
456 This function appends the contents of the region delimited by 456 This function appends the contents of the region delimited by
457 @var{start} and @var{end} in the current buffer to the end of file 457 @var{start} and @var{end} in the current buffer to the end of file
458 @var{filename}. If that file does not exist, it is created. This 458 @var{filename}. If that file does not exist, it is created. If that
459 function returns @code{nil}. 459 file exists it is overwritten. This function returns @code{nil}.
460 460
461 An error is signaled if @var{filename} specifies a nonwritable file, 461 An error is signaled if @var{filename} specifies a nonwritable file,
462 or a nonexistent file in a directory where files cannot be created. 462 or a nonexistent file in a directory where files cannot be created.
463 @end deffn 463 @end deffn
464 464
999 999
1000 @item 75 1000 @item 75
1001 is in the group with @sc{gid} 75. 1001 is in the group with @sc{gid} 75.
1002 1002
1003 @item (8489 20284) 1003 @item (8489 20284)
1004 was last accessed on Aug 19 00:09. Unfortunately, you cannot convert 1004 was last accessed on Aug 19 00:09. Use @code{format-time-string} to
1005 this number into a time string in XEmacs. 1005 ! convert this number into a time string. @xref{Time Conversion}.
1006 1006
1007 @item (8489 20284) 1007 @item (8489 20284)
1008 was last modified on Aug 19 00:09. 1008 was last modified on Aug 19 00:09.
1009 1009
1010 @item (8489 20285) 1010 @item (8489 20285)
1565 1565
1566 @c Emacs 19 feature 1566 @c Emacs 19 feature
1567 @defun file-relative-name filename &optional directory 1567 @defun file-relative-name filename &optional directory
1568 This function does the inverse of expansion---it tries to return a 1568 This function does the inverse of expansion---it tries to return a
1569 relative name that is equivalent to @var{filename} when interpreted 1569 relative name that is equivalent to @var{filename} when interpreted
1570 relative to @var{directory}. (If such a relative name would be longer 1570 relative to @var{directory}.
1571 than the absolute name, it returns the absolute name instead.)
1572 1571
1573 @c XEmacs feature? 1572 @c XEmacs feature?
1574 If @var{directory} is @code{nil} or omitted, the value of 1573 If @var{directory} is @code{nil} or omitted, the value of
1575 @code{default-directory} is used. 1574 @code{default-directory} is used.
1576 1575
1577 @example 1576 @example
1578 (file-relative-name "/foo/bar" "/foo/") 1577 (file-relative-name "/foo/bar" "/foo/")
1579 @result{} "bar") 1578 @result{} "bar")
1580 (file-relative-name "/foo/bar" "/hack/") 1579 (file-relative-name "/foo/bar" "/hack/")
1581 @result{} "/foo/bar") 1580 @result{} "../foo/bar")
1582 @end example 1581 @end example
1583 @end defun 1582 @end defun
1584 1583
1585 @defvar default-directory 1584 @defvar default-directory
1586 The value of this buffer-local variable is the default directory for the 1585 The value of this buffer-local variable is the default directory for the