[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: where does emacs's lisp files located ?
From: |
Kevin Rodgers |
Subject: |
Re: where does emacs's lisp files located ? |
Date: |
Tue, 16 Oct 2012 20:47:15 -0600 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
On 10/16/12 8:19 PM, Óscar Fuentes wrote:
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
Or: M-x find-function RET foobar RET
/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.
--
Kevin Rodgers
Denver, Colorado, USA