all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Looping through arguments &rest
@ 2023-07-03 20:32 uzibalqa
  2023-07-03 21:40 ` Stephen Berman
  0 siblings, 1 reply; 3+ messages in thread
From: uzibalqa @ 2023-07-03 20:32 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor

Why does "attach" keep "chart" nil

(setq chart '())
(setq entry1 '("A" "B" "C"))
(setq entry2 '("D" "E" "F"))

(defun attach (chart &rest linsq)
  "TODO"
  (dolist (tbrow linsq)
    (push tbrow chart)))

I want to have the equivalent to

(push entry1 chart)
(push entry2 chart)





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-03 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03 20:32 Looping through arguments &rest uzibalqa
2023-07-03 21:40 ` Stephen Berman
2023-07-03 22:24   ` uzibalqa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.