Questions tagged [plists]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
92 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 ...
1
vote
2answers
246 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? ...