All Questions
Tagged with setq let-binding
3 questions
0
votes
2
answers
228
views
How to set a variable name with a variable?
I want to do this.
(let ((myvar "my/variable")
(myval "Some Value"))
(setq myvar myval))
The manual method is:
(setq "my/variable" "Some Value")
Here ...
1
vote
1
answer
370
views
Backup a variable and store it back
I have problems to get into Lisp. I assume I miss the correct terms to search for.
So I try to "speak in Python".
#!/usr/bin/env python3
foo = 7
backuped_foo = foo
# temporary change the ...
6
votes
1
answer
356
views
What's really behind an assignment in Emacs lisp?
[Warning : these are noob questions.]
I'm a beginner in Emacs Lisp and I would like to be sure that I understand well what I'm really doing when I set a value to a variable with setq or let.
Here is ...