|
From: | Lennart Borgman (gmail) |
Subject: | Re: symbol-file |
Date: | Thu, 14 Aug 2008 15:32:16 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
martin rudalics wrote:
(symbol-file 'ediff-directories 'defun) currently returns "ediff" which contradicts the doc-string saying The value is an absolute file name. It can also be nil, if the definition is not associated with any file. I suggest we'd either fix the doc-string appropriately or return (locate-file (nth 1 (symbol-function symbol)) load-path '(".el" ".elc")) in the autoload case.
I think it would be best to return the absolute file name and then have a separate function file-name-in-load-path that just gives for example "ediff.el". The second function can then be used by the help functions to display the file name.
[Prev in Thread] | Current Thread | [Next in Thread] |