unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Fix for lisp/files.el - doc string for file-truename
@ 2004-10-28 11:47 CHENG Gao
  2004-10-28 20:00 ` Stefan
  0 siblings, 1 reply; 2+ messages in thread
From: CHENG Gao @ 2004-10-28 11:47 UTC (permalink / raw)


Existed doc string for file-truename makes optional parameters not
shown.
Below is the fix. Please check if it's ok.


--- files.el.orig	2004-10-28 18:54:43.031250000 +0800
+++ files.el	2004-10-28 19:42:07.406250000 +0800
@@ -674,9 +674,7 @@
   "Return the truename of FILENAME, which should be absolute.
 The truename of a file name is found by chasing symbolic links
 both at the level of the file and at the level of the directories
-containing it, until no links are left at any level.
-
-\(fn FILENAME)"
+containing it, until no links are left at any level."
   ;; COUNTER and PREV-DIRS are only used in recursive calls.
   ;; COUNTER can be a cons cell whose car is the count of how many
   ;; more links to chase before getting an error.

-- 
花开花谢春不管,拂意事休对人言
水暖水寒鱼自知,会心处还期独赏

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Fix for lisp/files.el - doc string for file-truename
  2004-10-28 11:47 Fix for lisp/files.el - doc string for file-truename CHENG Gao
@ 2004-10-28 20:00 ` Stefan
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan @ 2004-10-28 20:00 UTC (permalink / raw)
  Cc: emacs-devel

> Existed doc string for file-truename makes optional parameters not
> shown.
> Below is the fix. Please check if it's ok.

As you can see in the comment just below the docstring:

    ;; COUNTER and PREV-DIRS are only used in recursive calls.
    ;; COUNTER can be a cons cell whose car is the count of how many
    ;; more links to chase before getting an error.

I.e. `counter' and `prev-dirs' should normally not be used, which is why
someone went to the trouble to put an explicit (fn FILENAME) to hide those
internal-use-only arguments.


        Stefan


> --- files.el.orig	2004-10-28 18:54:43.031250000 +0800
> +++ files.el	2004-10-28 19:42:07.406250000 +0800
> @@ -674,9 +674,7 @@
>    "Return the truename of FILENAME, which should be absolute.
>  The truename of a file name is found by chasing symbolic links
>  both at the level of the file and at the level of the directories
> -containing it, until no links are left at any level.
> -
> -\(fn FILENAME)"
> +containing it, until no links are left at any level."
>    ;; COUNTER and PREV-DIRS are only used in recursive calls.
>    ;; COUNTER can be a cons cell whose car is the count of how many
>    ;; more links to chase before getting an error.

> -- 
> 花开花谢春不管,拂意事休对人言
> 水暖水寒鱼自知,会心处还期独赏




> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-28 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 11:47 Fix for lisp/files.el - doc string for file-truename CHENG Gao
2004-10-28 20:00 ` Stefan

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).