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

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

Re: on specifying the C source code directory (Was: Re: on ``An Introduc


From: tomas
Subject: Re: on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'')
Date: Mon, 1 Feb 2016 13:32:54 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Feb 01, 2016 at 01:38:12PM +0100, Marcin Borkowski wrote:
> 
> On 2016-02-01, at 13:07, Daniel Bastos <dbastos@toledo.com> wrote:
> 
> > Marcin Borkowski <mbork@mbork.pl> writes:
> >
> > [...]
> >
> >> I'd like to point out that one nice benefit of compiling from source
> >> (apart from staying on the bleeding edge) is that you can easily use C-h
> >> f to jump to the source code of functions written in C.
> >
> > You seem a good person to ask then.  I'm able to look up source code in
> > C source code in a Windows installation.  But I always need to tell it
> > which is the directory source code.  How could I make sure it knows
> > which directory that is?
> 
> No idea.  It Just Works™ on my (GNU/Linux) machine, after compiling from
> source, without specifying the directory even once.

There is a (documented) variable called "source-directory" which seems
to do that. Try perhaps setting it to an appropriate value.

regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlavUHYACgkQBcgs9XrR2kZpEgCffO99NhMmEiQVCV3QoQHnNXD5
a4QAnjeFyo5tVDYNTMWfVimCYvyq2V0O
=fH+w
-----END PGP SIGNATURE-----



reply via email to

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