emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

symbol-file


From: martin rudalics
Subject: symbol-file
Date: Thu, 14 Aug 2008 15:20:08 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

  (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.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]