Questions tagged [plists]
The plists tag has no usage guidance.
2
questions
2
votes
1answer
131 views
How can I make `setf` work with `plist-get`?
There's no built-in setter for plist-get. Example:
(let ((pl '(:what (one))))
(push 'two (plist-get pl :what))
pl)
Error: let*: Symbol’s function definition is void: \(setf\ plist-get\)
How can I ...
2
votes
2answers
292 views
How to access a value in a plist, given its key
I have a list of key-value pairs that is assigned to a variable.
(setq m-point '(:beg 2811 :end 3018 :op "(" :cl ")" :prefix "" :suffix ""))
How do I access the values of :beg and :end within it?
...