mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 14:56:54 +02:00
Brief explanation about ' (quote) (#2449)
This commit is contained in:
@@ -225,6 +225,8 @@ filename: learn-emacs-lisp.el
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;;
|
;;
|
||||||
;; Let's store a list of names:
|
;; 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"))
|
(setq list-of-names '("Sarah" "Chloe" "Mathilde"))
|
||||||
|
|
||||||
;; Get the first element of this list with `car':
|
;; Get the first element of this list with `car':
|
||||||
|
Reference in New Issue
Block a user