Function: semantic--eldoc-info

semantic--eldoc-info is a byte-compiled function defined in idle.el.gz.

Signature

(semantic--eldoc-info CALLBACK &rest _)

Documentation

Return the eldoc info for the current symbol.

Call semantic-idle-summary-current-symbol-info for getting the current tag to display information.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/idle.el.gz
(defun semantic--eldoc-info (_callback &rest _)
  "Return the eldoc info for the current symbol.
Call `semantic-idle-summary-current-symbol-info' for getting the
current tag to display information."
  (or (eq major-mode 'emacs-lisp-mode)
      (not (semantic-idle-summary-useful-context-p))
      (let* ((found (save-excursion
                      (semantic-idle-summary-current-symbol-info)))
             (str (cond ((stringp found) found)
                        ((semantic-tag-p found)
                         (funcall semantic-idle-summary-function
                                  found nil t)))))
        str)))