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

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

bug#55492: 29.0.50; apropos-documentation with universal argument shows


From: Stefan Monnier
Subject: bug#55492: 29.0.50; apropos-documentation with universal argument shows an error
Date: Tue, 17 May 2022 22:19:45 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> Right.  Then perhaps the error is just in:
>
> (apropos-documentation-check-elc-file "simple.elc")
>
> It assumes a full file name, and doesn't look into the load path, which
> it could trivially do.

Looking up the `load-path` should be of last resort because it's not
reliable (e.g. when you have foo/bar/comp.elc it's not clear if it's
emacs-lisp/comp.elc or semantic/wisent/comp.elc).

> But before I fix that -- is (aref (symbol-function 'kill-current-buffer)
> 4) supposed to be the full file name or just the leaf name?

The file name should be absolute for all files except the preloaded
ones, and those should be relative to `lisp-directory` (because the
preloaded files are loaded before we know where the Lisp files will be
available at run-time).


        Stefan






reply via email to

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