Next: More Complex, Previous: Writing Defuns, Up: Top [Contents][Index]
In this chapter we study in detail several of the functions used in GNU Emacs. This is called a “walk-through”. These functions are used as examples of Lisp code, but are not imaginary examples; with the exception of the first, simplified function definition, these functions show the actual code used in GNU Emacs. You can learn a great deal from these definitions. The functions described here are all related to buffers. Later, we will study other functions.
• Finding More | How to find more information. | |
• simplified-beginning-of-buffer | Shows goto-char ,
point-min , and push-mark .
| |
• mark-whole-buffer | Almost the same as beginning-of-buffer .
| |
• append-to-buffer | Uses save-excursion and
insert-buffer-substring .
| |
• Buffer Related Review | Review. | |
• Buffer Exercises |