Function: combobulate-ztree--context-assoc-1

combobulate-ztree--context-assoc-1 is a natively compiled function defined in combobulate-ztree.el.

Signature

(combobulate-ztree--context-assoc-1 CONTEXT K V)

Documentation

Assoc in CONTEXT a key K with a value V.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-ztree.el
(defun combobulate-ztree--context-assoc-1 (context k v)
  "Assoc in CONTEXT a key K with a value V."
  (if (map-contains-key context k)
      (mapcar (lambda (entry)
                (if (equal (car entry) k)
                    (cons k v)
                  entry))
              context)
    (cons (cons k v) context)))