Brief explanation about ' (quote) (#2449)

This commit is contained in:
coelhotopetudo 2017-02-09 13:19:42 -02:00 committed by ven
parent 7f0fff0adf
commit ade62f5b50

View File

@ -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':