all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* symbol-file
@ 2008-08-14 13:20 martin rudalics
  2008-08-14 13:32 ` symbol-file Lennart Borgman (gmail)
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2008-08-14 13:20 UTC (permalink / raw)
  To: emacs-devel

   (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





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

end of thread, other threads:[~2008-08-14 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14 13:20 symbol-file martin rudalics
2008-08-14 13:32 ` symbol-file Lennart Borgman (gmail)
2008-08-14 14:24   ` symbol-file martin rudalics

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.