Function: srecode-semantic-handle-:el
srecode-semantic-handle-:el is an autoloaded and byte-compiled
function defined in el.el.gz.
Signature
(srecode-semantic-handle-:el DICT)
Documentation
Add macros into the dictionary DICT based on the current Emacs Lisp file.
Adds the following:
PRENAME - The common name prefix of this file.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/srecode/el.el.gz
;;;###autoload
(defun srecode-semantic-handle-:el (dict)
"Add macros into the dictionary DICT based on the current Emacs Lisp file.
Adds the following:
PRENAME - The common name prefix of this file."
(let* ((names (append (semantic-find-tags-by-class 'function (current-buffer))
(semantic-find-tags-by-class 'variable (current-buffer)))
)
(common (try-completion "" names)))
(srecode-dictionary-set-value dict "PRENAME" common)
))