Function: c-count-cfss
c-count-cfss is a byte-compiled function defined in cc-mode.el.gz.
Signature
(c-count-cfss LV-ALIST)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/cc-mode.el.gz
(defun c-count-cfss (lv-alist)
;; LV-ALIST is an alist like `file-local-variables-alist'. Count how many
;; elements with the key `c-file-style' there are in it.
(let ((elt-ptr lv-alist) elt (cownt 0))
(while elt-ptr
(setq elt (car elt-ptr)
elt-ptr (cdr elt-ptr))
(when (eq (car elt) 'c-file-style)
(setq cownt (1+ cownt))))
cownt))