Function: srecode-map-entry-for-file-anywhere
srecode-map-entry-for-file-anywhere is a byte-compiled function
defined in map.el.gz.
Signature
(srecode-map-entry-for-file-anywhere ARG &rest ARGS)
Implementations
(srecode-map-entry-for-file-anywhere (MAP srecode-map) FILE) in `srecode/map.el'.
Search in all entry points in MAP for FILE. Return a list ( APP . FILE-ASSOC ) where APP is nil in the global map.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/map.el.gz
(cl-defmethod srecode-map-entry-for-file-anywhere ((map srecode-map) file)
"Search in all entry points in MAP for FILE.
Return a list ( APP . FILE-ASSOC ) where APP is nil
in the global map."
(or
;; Look in the global entry
(let ((globalentry (srecode-map-entry-for-file map file)))
(when globalentry
(cons nil globalentry)))
;; Look in each app.
(let ((match nil))
(dolist (app (oref map apps))
(let ((appmatch (assoc file (cdr app))))
(when appmatch
(setq match (cons app appmatch)))))
match)
;; Other?
))