[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
questioning let
From: |
Andreas Roehler |
Subject: |
questioning let |
Date: |
Wed, 24 Feb 2010 11:34:47 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20081227) |
Hi,
behaviour of the example code below puzzles me. Would
expect setting of arg by external function, but inside
`let', recognised. But remains `1'.
(defun arg-setting ()
(interactive)
(let ((arg 1))
(message "%s" arg)
(arg-extern arg)
(message "%s" arg)))
(defun arg-extern (arg)
(setq arg (1- arg)))
Any help?
Thanks
Andreas
--
https://code.launchpad.net/~a-roehler/python-mode
https://code.launchpad.net/s-x-emacs-werkstatt/
- questioning let,
Andreas Roehler <=
- Message not available
Re: questioning let, Pascal J. Bourguignon, 2010/02/24
Re: questioning let, Tim X, 2010/02/24