Difference between revisions of "Emacs Lisp Cheat Sheet"
Jump to navigation
Jump to search
| Line 6: | Line 6: | ||
| Purpose || Forms | | Purpose || Forms | ||
|- | |- | ||
| − | | Definition || defconst defun defvar | + | | Definition || defconst defun defvar |
|- | |- | ||
| Binding constructs || let let* function | | Binding constructs || let let* function | ||
Revision as of 10:19, 5 April 2012
Special form
special form has its own rule for which arguments are evaluated
| Purpose | Forms |
| Definition | defconst defun defvar |
| Binding constructs | let let* function |
| Conditional evaluation | and cond if or |
| Sequential evaluation | prog1 prog2 progn |
| Iteration | while |
| Syntactic extension | defmacro |
| Quoting | quote |
| Assignment | setq setq-default |
| Nonlocal Exits | catch condition-case unwind-protect |
| Save | save-current-buffer save-excursion save-restriction save-window-excursion |
| Other | interactive track-mouse with-output-to-temp-buffer |