Function: combobulate-ztree--context

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

Signature

(combobulate-ztree--context LOC &optional KEY)

Documentation

Return context for this LOC.

If KEY is given, only return this key's value in context.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-ztree.el
;;; Zipper (iterative tree traversal)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defun combobulate-ztree--context (loc &optional key)
  "Return context for this LOC.
If KEY is given, only return this key's value in context."
  (let ((context (cdr (car loc))))
    (if (and context key)
        (map-elt context key)
      context)))