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

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

Re: Skipping installation of .el.gz files


From: Eli Zaretskii
Subject: Re: Skipping installation of .el.gz files
Date: Mon, 23 Oct 2023 14:35:31 +0300

> From: Spencer Baugh <sbaugh@janestreet.com>
> Date: Sun, 22 Oct 2023 20:45:46 -0400
> 
> 
> At my site, I'd like to install the Emacs source code along with Emacs
> and set source-directory, so that users can easily jump to function
> definitions and search the Emacs source.
> 
> This works great for C function definitions, but Lisp function
> definitions still jump to the .el.gz files which are installed by "make
> install".  If I delete those files, jumping to Lisp function definitions
> stops working entirely.
> 
> Is there a clean and supported way to teach Emacs to jump to the files
> in source-directory instead of the .el.gz ones?

I suggest to override find-lisp-object-file-name with a similar
definition that does what you want.  Alternatively (not tested) tweak
load-path to include the source tree's lisp/ directory and its
subdirectories before the directory where Lisp files were installed.



reply via email to

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