From: Richard M. Stallman Date: Tue, 22 Jul 2003 15:26:01 +0000 (+0000) Subject: (Truenames): Add LIMIT arg to file-chase-links. X-Git-Tag: ttn-vms-21-2-B4~9269 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c73983bbfaf8b34b845c2d803f85daced9fd683d;p=emacs.git (Truenames): Add LIMIT arg to file-chase-links. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 765b3c4d4e9..d06f67e0104 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,3 +1,50 @@ +2003-07-22 Richard M. Stallman + + * files.texi (Truenames): Add LIMIT arg to file-chase-links. + + * display.texi (Width): Use \s syntax in example. + (Font Selection): Add face-font-rescale-alist. + + * modes.texi (Imenu): Add xref to Emacs Manual node on Imenu. + Remove spurious indent in example. + + * lists.texi (Building Lists): Add number-sequence. + + * internals.texi (Garbage Collection): Add gcs-done, gc-elapsed. + + * functions.texi (Function Documentation): Explain how to + show calling convention explicitly in the doc string. + + * windows.texi (Selecting Windows): save-selected-window saves + selected window of each frame. + (Window Configurations): Minor change. + + * syntax.texi (Syntax Table Functions): Use \s syntax in examples. + + * streams.texi (Output Variables): Add print-continuous-numbering + and print-number-table. + + * processes.texi (Decoding Output): New node. + + * os.texi (Time Conversion): decode-time arg is optional. + + * objects.texi (Character Type): Don't use space as example for \. + Make list of char names and \-sequences correspond. + Explain that \s is not used in strings. `\ ' needs space after. + + * nonascii.texi (Converting Representations): Add string-to-multibyte. + (Translation of Characters): Add translation-table-for-input. + (Default Coding Systems): Add auto-coding-functions. + (Explicit Encoding): Add decode-coding-inserted-region. + (Locales): Add locale-info. + + * minibuf.texi (Basic Completion): Describe test-completion. + Collections can be lists of strings. + Clean up lazy-completion-table. + (Programmed Completion): Mention test-completion. + Clarify why lambda expressions are not accepted. + (Minibuffer Misc): Describe minibufferp. + 2003-07-14 Richard M. Stallman * buffers.texi (Killing Buffers): kill-buffer-hook is perm local. diff --git a/lispref/files.texi b/lispref/files.texi index c61c9ad11d2..c594f0a78a0 100644 --- a/lispref/files.texi +++ b/lispref/files.texi @@ -948,10 +948,12 @@ The function @code{file-truename} returns the truename of the file @var{filename}. The argument must be an absolute file name. @end defun -@defun file-chase-links filename +@defun file-chase-links filename &optional limit This function follows symbolic links, starting with @var{filename}, until it finds a file name which is not the name of a symbolic link. -Then it returns that file name. +Then it returns that file name. If you specify a number for +@var{limit}, then after chasing through that many links, the function +just returns what it as even if that is still a symbolic link. @end defun To illustrate the difference between @code{file-chase-links} and