Function: srecode-get-maps
srecode-get-maps is an autoloaded, interactive and byte-compiled
function defined in map.el.gz.
Signature
(srecode-get-maps &optional RESET)
Documentation
Get a list of maps relevant to the current buffer.
Optional argument RESET forces a reset of the current map.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/map.el.gz
;;; MAP Updating
;;
;;;###autoload
(defun srecode-get-maps (&optional reset)
"Get a list of maps relevant to the current buffer.
Optional argument RESET forces a reset of the current map."
(interactive "P")
;; Always update the map, but only do a full reset if
;; the user asks for one.
(srecode-map-update-map (not reset))
(if (called-interactively-p 'any)
;; Dump this map.
(with-output-to-temp-buffer "*SRECODE MAP*"
(princ " -- SRecode Global map --\n")
(srecode-maps-dump-file-list (oref srecode-current-map files))
(princ "\n -- Application Maps --\n")
(dolist (ap (oref srecode-current-map apps))
(let ((app (car ap))
(files (cdr ap)))
(princ app)
(princ " :\n")
(srecode-maps-dump-file-list files))
(princ "\n"))
(princ "\nUse:\n\n M-x customize-variable RET srecode-map-load-path RET")
(princ "\n To change the path where SRecode loads templates from.")
)
;; Eventually, I want to return many maps to search through.
(list srecode-current-map)))