An Introduction to Programming in Emacs Lisp
The GNU Emacs website is at https://www.gnu.org/software/emacs/.
To view this manual in other formats, click here.
This is An Introduction to Programming in Emacs Lisp, for people who are not programmers.
Distributed with Emacs version 30.2.
Copyright © 1990–1995, 1997, 2001–2025 Free Software Foundation, Inc.
Printed copies available from https://shop.fsf.org/. Published by:
GNU Press, https://www.fsf.org/licensing/gnu-press/
a division of the email: sales@fsf.org
Free Software Foundation, Inc. Tel: +1 (617) 542-5942
31 Milk Street, # 960789 Fax: +1 (617) 542-2652
Boston, MA 02196 USAISBN 1-882114-43-4
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; there being no Invariant Section, with the Front-Cover Texts being “A GNU Manual”, and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License”.
(a) The FSF’s Back-Cover Text is: “You have the freedom to copy and modify this GNU manual. Buying copies from the FSF supports it in developing GNU and promoting software freedom.”
This master menu first lists each chapter and index; then it lists every node in every chapter.
Table of Contents
3 How To Write Function Definitions
4 A Few Buffer-Related Functions
12 Regular Expression Searches
- Emacs’s Default Configuration
- 16.1 Site-wide Initialization Files
- 16.2 Specifying Variables using
defcustom - 16.3 Beginning a
.emacsFile - 16.4 Text and Auto Fill Mode
- 16.5 Mail Aliases
- 16.6 Indent Tabs Mode
- 16.7 Some Key Bindings
- 16.8 Keymaps
- 16.9 Loading Files
- 16.10 Autoloading
- 16.11 A Simple Extension:
line-to-top-of-window - 16.12 X11 Colors
- 16.13 Miscellaneous Settings for a
.emacsFile - 16.14 A Modified Mode Line
Appendix C A Graph with Labeled Axes