Function: kcell:set-attr

kcell:set-attr is a function alias for plist-put, defined in fns.c.

Signature

(kcell:set-attr PLIST PROP VAL &optional PREDICATE)

Documentation

Change value in PLIST of PROP to VAL.

PLIST is a property list, which is a list of the form
(PROP1 VALUE1 PROP2 VALUE2 ...).

The comparison with PROP is done using PREDICATE, which defaults to eq.

If PROP is already a property on the list, its value is set to VAL, otherwise the new PROP VAL pair is added. The new plist is returned; use (setq x (plist-put x prop val)) to be sure to use the new value. The PLIST is modified by side effects.

Aliases

kcell:set-attr map--plist-put