mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
lisp/cedet/semantic/symref/filter.el: New file.
lisp/cedet/semantic/idle.el (semantic-symref-hits-in-region): Require semantic/symref/filter.
This commit is contained in:
parent
54c6ce2991
commit
ea041226e1
2 changed files with 162 additions and 0 deletions
|
|
@ -57,6 +57,7 @@
|
|||
"semantic/decorate/mode")
|
||||
(declare-function pulse-momentary-highlight-region "pulse")
|
||||
(declare-function pulse-momentary-highlight-overlay "pulse")
|
||||
(declare-function semantic-symref-hits-in-region "semantic/symref/filter")
|
||||
|
||||
;;; Code:
|
||||
|
||||
|
|
@ -924,6 +925,7 @@ Call `semantic-symref-hits-in-region' to identify local references."
|
|||
(error nil))
|
||||
;; Identify all hits in this current tag.
|
||||
(when (semantic-tag-p target)
|
||||
(require 'semantic/symref/filter)
|
||||
(semantic-symref-hits-in-region
|
||||
target (lambda (start end prefix)
|
||||
(when (/= start (car Hbounds))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue