1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-27 02:10:52 -08:00

(Truenames): Add LIMIT arg to file-chase-links.

This commit is contained in:
Richard M. Stallman 2003-07-22 15:26:01 +00:00
parent 6bc3abcbba
commit c73983bbfa
2 changed files with 51 additions and 2 deletions

View file

@ -1,3 +1,50 @@
2003-07-22 Richard M. Stallman <rms@gnu.org>
* 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 <rms@gnu.org>
* buffers.texi (Killing Buffers): kill-buffer-hook is perm local.

View file

@ -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