Function: artist-fc-retrieve-from-symbol-sub
artist-fc-retrieve-from-symbol-sub is a byte-compiled function defined
in artist.el.gz.
Signature
(artist-fc-retrieve-from-symbol-sub TABLE SYMBOL RETRIEVE-FN)
Documentation
Search TABLE for a function-call SYMBOL.
Calls RETRIEVE-FN to retrieve information from that symbol's info-variant-part.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-fc-retrieve-from-symbol-sub (table symbol retrieve-fn)
"Search TABLE for a function-call SYMBOL.
Calls RETRIEVE-FN to retrieve information from that symbol's
info-variant-part."
(catch 'found
(mapc
(lambda (element)
(let ((element-tag (artist-mt-get-tag element)))
(cond ((eq element-tag 'function-call)
(let* ((info-part (artist-mt-get-info-part element))
(fc-symbol (artist-fc-get-symbol info-part)))
(if (eq fc-symbol symbol)
(throw 'found (funcall retrieve-fn info-part)))))
((eq element-tag 'menu)
(let* ((info-part (artist-mt-get-info-part element))
(items (artist-mn-get-items info-part))
(answer (artist-fc-retrieve-from-symbol-sub
items symbol retrieve-fn)))
(if answer (throw 'found answer)))))))
table)
nil))