www.delorie.com/gnu/docs/emacs-lisp-intro/emacs-lisp-intro_85.html   search  
Buy the book!

Programming in Emacs Lisp

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. A Few More Complex Functions

In this chapter, we build on what we have learned in previous chapters by looking at more complex functions. The copy-to-buffer function illustrates use of two save-excursion expressions in one definition, while the insert-buffer function illustrates use of an asterisk in an interactive expression, use of or, and the important distinction between a name and the object to which the name refers.

5.1 The Definition of copy-to-buffer  With set-buffer, get-buffer-create.
5.2 The Definition of insert-buffer  Read-only, and with or.
5.3 Complete Definition of beginning-of-buffer  Shows goto-char,
                                point-min, and push-mark.
5.4 Review  
5.5 optional Argument Exercise  

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003