Skip to content

Commit

Permalink
Emacs-Lisp-01: fix example getting 2nd list item
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Jan 11, 2021
1 parent 8dbc1a8 commit d01baad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions show-notes/Emacs-Lisp-01.org
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ Here are some you can try:
;; Another way to create a list
(list 1 2 3)

;; Get the second
(car (car '(1 2 3)))
;; Get the second list item
(car (cdr '(1 2 3)))

;; A vector
[1 2 3]
Expand Down

0 comments on commit d01baad

Please sign in to comment.