Richard Stallman wrote: Pick a variable in loaddefs.el e.g. warning-type-format. Do C-h v on it. The *Help* buffer says:
warning-type-format is a variable defined in `C source code'. Its actually defined in warnings.el Clicking on the link gives: Search failed: "Vwarning-type-format It does not fail for me. It fails for me and it seems rather strange that it does not fail for you. Did you use `emacs -q'? I do not see how the current call to locate-file in startup.el can correctly handle loaddefs, since, prior to the code in startup.el, loaddefs is stored in load-history as "loaddefs.el" and "" is not in load-suffixes, that is, locate-file tries to find "loaddefs.el.el" and so on in load-path, but not loaddefs.el. The following patch fixes this and makes the reported problem go away. I can install if desired. ===File ~/startup-diff====================================== *** startup.el 15 Nov 2005 19:12:15 -0600 1.388 --- startup.el 18 Nov 2005 20:37:44 -0600 *************** *** 647,653 **** (if (and (stringp (car elt)) (not (file-name-absolute-p (car elt)))) (cons (locate-file (car elt) load-path ! load-suffixes) (cdr elt)) elt)) load-history)) --- 647,653 ---- (if (and (stringp (car elt)) (not (file-name-absolute-p (car elt)))) (cons (locate-file (car elt) load-path ! (append load-suffixes '(""))) (cdr elt)) elt)) load-history)) ============================================================ _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug