[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: where does emacs's lisp files located ?
From: |
Óscar Fuentes |
Subject: |
Re: where does emacs's lisp files located ? |
Date: |
Wed, 17 Oct 2012 04:19:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
horse_rivers <horse_rivers@126.com> writes:
> I have installed my emacs successfully ,but I can not find its
> lisp files which implement emacs's function.
>
> can you tell me?
Suppose you want to see the code for function find-file. Then type:
C-h f find-file [ENTER]
A window will appear with the documentation for find-file. The first
line on that window is:
find-file is an interactive compiled Lisp function in `files.el'.
The text `files.el' is an hyperlink. Click on it or move the cursor on
top of it and press [ENTER] and Emacs will show the file where find-file
is implemented. For me it is
/usr/local/share/emacs/24.1.50/lisp/files.el.gz
but it varies depending on version, operative system and method of
installation. The file.el.gz is compressed with gzip (to save disk
space, apparently) but Emacs shows it decompressed for you.