emacs-devel
[Top][All Lists]
Advanced

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

Re: Easy configuration of a site-lisp directory


From: Basil L. Contovounesios
Subject: Re: Easy configuration of a site-lisp directory
Date: Wed, 11 Aug 2021 19:21:50 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: "Basil L. Contovounesios" <contovob@tcd.ie>
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  cpitclaudel@gmail.com,
>>   yuri.v.khan@gmail.com,  arthur.miller@live.com,  emacs-devel@gnu.org
>> Date: Wed, 11 Aug 2021 14:42:31 +0100
>> 
>> >> The magic is the `find-function-C-source-directory` variable
>> >
>> > That's irrelevant to M-. I think.
>> 
>> FWIW, I run an installed Emacs, but tell M-. to prefer the Git sources
>> with the following MWE:
>
> Is this for Lisp only?

Yes.

> Because AFAICT it does nothing for C sources.

When installed from a Git checkout, source-directory already holds the
correct value, so M-. works OOTB for definitions in C.

In other installations, the user need only set that one variable
appropriately.  Even if they don't, M-. will prompt for it
interactively.

-- 
Basil



reply via email to

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