Function: semantic-idle-summary-useful-context-p

semantic-idle-summary-useful-context-p is a byte-compiled function defined in idle.el.gz.

Signature

(semantic-idle-summary-useful-context-p)

Documentation

Non-nil if we should show a summary based on context.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/idle.el.gz
(defun semantic-idle-summary-useful-context-p ()
  "Non-nil if we should show a summary based on context."
  (if (and font-lock-mode
	   (memq (get-text-property (point) 'face)
		 semantic-idle-summary-out-of-context-faces))
      ;; The best I can think of at the moment is to disable
      ;; in comments by detecting with font-lock.
      nil
    t))