|
From: | Jean Louis |
Subject: | Re: [SOLVED with `eval']: Why I cannot use this variable in macro call from function? |
Date: | Tue, 8 Jun 2021 23:47:09 +0300 |
User-agent: | Mutt/2.0.7+183 (3d24855) (2021-05-28) |
* tomas@tuxteam.de <tomas@tuxteam.de> [2021-06-08 23:23]: > OK. Since you can't go back in time, you can set the variable > for a part of the program which isn't yet compiled. Otherwise > you'd have to "un-compile" your program first, right? Should I worry now? Sounds like I should (defun my-hello (string) (interactive "sYour name: ") (eval (list 'message-box (concat "Hello " string)))) If that works dynamically then my function should also work. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/
[Prev in Thread] | Current Thread | [Next in Thread] |