does-buffer-exist.org 282 B

How do I use mapc?


  (buffer-name
           (car
            (buffer-list)))

            (mapc (buffer-name (buffer-list)))



Playing with mapcar and mapc


(defun plus1 (x)
(+ x 1))

(mapcar 'plus1 '(1 2 3 4 5))