Function: c-laomib-get-cache

c-laomib-get-cache is a byte-compiled function defined in cc-engine.el.gz.

Signature

(c-laomib-get-cache CONTAINING-SEXP)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cc-engine.el.gz
(defun c-laomib-get-cache (containing-sexp)
  ;; Get an element from `c-laomib-cache' matching CONTAINING-SEXP.
  ;; Return that element or nil if one wasn't found.
  (let ((elt (assq containing-sexp c-laomib-cache)))
    (when elt
      ;; Move the fetched `elt' to the front of the cache.
      (setq c-laomib-cache (delq elt c-laomib-cache))
      (push elt c-laomib-cache)
      elt)))