emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: void-function tree-widget-theme-name from recentf-open-more-files


From: Stefan Monnier
Subject: Re: void-function tree-widget-theme-name from recentf-open-more-files
Date: Fri, 16 Dec 2005 15:57:13 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>> Debugger entered--Lisp error: (void-function tree-widget-theme-name)
>>> tree-widget-theme-name()
>>> recentf-open-files(("/etc/profile.d/modules.csh" [file list stripped]
> [...]
>> I tried with your .emacs and an equivalent .recentf file and can't
>> reproduce the bug.  Can you locate-library tree-widget?
>> What is strange is that recentf.el do (require 'tree-widget) at top
>> of the file.

> Sorry, for the false alarm.  Now I found out that an old version of
> `tree-widget.el' in site-lisp shadowed the current version.

Shouldn't we add a hack in `require' (and do_autoload maybe) such that if:
- the require is done from a bundled elisp file (i.e. in emacs/<vers>/lisp)
- the loaded file shadows another file and
- that other file is in emacs/<vers>/lisp
we output a big warning?


        Stefan




reply via email to

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