mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-22 21:52:31 +03:00
Brief explanation about ' (quote) (#2449)
This commit is contained in:
parent
7f0fff0adf
commit
ade62f5b50
@ -225,6 +225,8 @@ filename: learn-emacs-lisp.el
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;
|
||||
;; Let's store a list of names:
|
||||
;; If you want to create a literal list of data, use ' to stop it from
|
||||
;; being evaluated - literally, "quote" the data.
|
||||
(setq list-of-names '("Sarah" "Chloe" "Mathilde"))
|
||||
|
||||
;; Get the first element of this list with `car':
|
||||
|
Loading…
Reference in New Issue
Block a user