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 6
Conditionals and Control Flow
1
Elisp Truthiness: nil and Beyond
Evaluate truthiness and falsiness in Elisp (nil vs. everything else).
Conditional Statements: If, When, and Unless
Use 'if', 'when', and 'unless' for simple conditional logic.
3
Conditional Logic with `cond`
Use 'cond' for multi-branch conditional logic.
4
Combining Conditions with AND, OR, and NOT
Combine conditions using 'and', 'or', and 'not'.
Grouping Expressions with `progn`
Use 'progn' to group multiple expressions where only one is expected.
Previous module
Functions and Interactive Commands
Next module
Working with Lists: The Heart of Lisp