all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why does this code sometimes work?
@ 2006-02-17 11:14 jacksneckhurts
  2006-02-17 11:31 ` Robert D. Crawford
  0 siblings, 1 reply; 2+ messages in thread
From: jacksneckhurts @ 2006-02-17 11:14 UTC (permalink / raw)


I pulled the following code from a tutorial:

;; begin
(defun multiply-by-seven (number)
  "Multiply NUMBER by seven."
  (* 7 number))

(multiply-by-seven 3)
;; end

I put it in emacs as is, and sometimes it runs, and most of the time it
errors out... I run the code with "ctrl-x ctrl-e" while the cursor is
to the right of "3)". What am I doing wrong? Thanks!

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

end of thread, other threads:[~2006-02-17 11:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-17 11:14 Why does this code sometimes work? jacksneckhurts
2006-02-17 11:31 ` Robert D. Crawford

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.