[Top][All Lists]

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

bug#690: 23.0.60; Function origin file misremembered

From: Lennart Borgman (gmail)
Subject: bug#690: 23.0.60; Function origin file misremembered
Date: Mon, 11 Aug 2008 12:23:00 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

martin rudalics wrote:
 >> Could you please try to instrument the function `find-source-lisp-file'
 >> (in help-fns.el) for debugging before you do C-h f and tell me what it
 >> finds?
 > `describe-simplify-lib-file-name' already converts "/Users/mt/prolog.el"
 > to "prolog.el", which I think it should not do to preserve the origin.
 > `find-source-lisp-file' then expands it to the Emacs source file.

Maybe.  Any ideas how to do that without breaking the rest of the code?

IIUC the problem is with `find-source-lisp-file' which searches for an
`elc-file' that does not exist for _your_ prolog.el, finds the compiled,
built-in one instead, ...

How about checking file mod time?

reply via email to

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