]> code.delx.au - gnu-emacs/blobdiff - lispref/files.texi
frame-override-unsplittable/inhibit-frame-unsplittable name change.
[gnu-emacs] / lispref / files.texi
index db196c8f7eeadc7d2bb25addbb0344f448acb14b..c951456951a92891d741736a8afe684c16bd1ff4 100644 (file)
@@ -964,7 +964,10 @@ as in @samp{ls -l}.
 deleted and recreated; @code{nil} otherwise.
 
 @item
-The file's inode number.
+The file's inode number.  If possible, this is an integer.  If the inode
+number is too large to be represented as an integer in Emacs Lisp, then
+the value has the form @code{(@var{high} . @var{low})}, where @var{low}
+holds the low 16 bits.
 
 @item
 The file system number of the file system that the file is in.  This
@@ -1561,8 +1564,13 @@ variables; only @code{substitute-in-file-name} does that.
 @defun file-relative-name filename directory
 This function does the inverse of expansion---it tries to return a
 relative name that is equivalent to @var{filename} when interpreted
-relative to @var{directory}.  (If such a relative name would be longer
-than the absolute name, it returns the absolute name instead.)
+relative to @var{directory}.
+
+On some operating systems, an absolute file name begins with a device
+name.  On such systems, @var{filename} has no relative equivalent based
+on @var{directory} if they start with two different device names.  In
+this case, @code{file-relative-name} returns @var{filename} in absolute
+form.
 
 @example
 (file-relative-name "/foo/bar" "/foo/")