Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learn Emacs Lisp
·
Module 5
Functions and Interactive Commands
1
Defining Functions: Arguments and Docstrings
Define functions with arguments and docstrings using 'defun'.
Calling Functions and Passing Arguments
Call functions and pass arguments to them.
Lambda Functions for Short-Lived Tasks
Write lambda (anonymous) functions for short-lived tasks.
4
Interactive Commands with `interactive`
Make a function into an interactive command using the 'interactive' specifier.
5
Capturing User Input: Interactive Codes
Use common interactive codes to accept user input (e.g., strings, regions).
Binding Commands to Keys with `global-set-key`
Bind an interactive command to a keybinding using 'global-set-key'.
Previous module
Variables and Core Data Types
Next module
Conditionals and Control Flow