GNU Info

Info Node: (emacs-lisp-intro.info)Buffer Walk Through

(emacs-lisp-intro.info)Buffer Walk Through


Next: More Complex Prev: Writing Defuns Up: Top
Enter node , (file) or (file)node

A Few Buffer-Related Functions
******************************

   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

automatically generated by info2www version 1.2.2.9