aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet')
-rw-r--r--lisp/cedet/ChangeLog8
-rw-r--r--lisp/cedet/semantic/complete.el7
2 files changed, 13 insertions, 2 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog
index 8b914e8843e..944a9e1a02a 100644
--- a/lisp/cedet/ChangeLog
+++ b/lisp/cedet/ChangeLog
@@ -1,3 +1,11 @@
12013-04-27 David Engster <deng@randomsample.de>
2
3 * semantic/complete.el
4 (semantic-collector-calculate-completions-raw): If
5 `completionslist' is not set, refresh the cache if necessary and
6 use it for completions. This fixes the
7 `semantic-collector-buffer-deep' collector (bug#14265).
8
12013-03-26 Leo Liu <sdl.web@gmail.com> 92013-03-26 Leo Liu <sdl.web@gmail.com>
2 10
3 * semantic/senator.el (senator-copy-tag-to-register): Move 11 * semantic/senator.el (senator-copy-tag-to-register): Move
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index 1c2ddf45c9d..6c2b97a677a 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -988,14 +988,17 @@ Calculate the cache if there isn't one."
988 "Calculate the completions for prefix from completionlist. 988 "Calculate the completions for prefix from completionlist.
989Output must be in semanticdb Find result format." 989Output must be in semanticdb Find result format."
990 ;; Must output in semanticdb format 990 ;; Must output in semanticdb format
991 (unless completionlist
992 (setq completionlist
993 (or (oref obj cache)
994 (semantic-collector-calculate-cache obj))))
991 (let ((table (with-current-buffer (oref obj buffer) 995 (let ((table (with-current-buffer (oref obj buffer)
992 semanticdb-current-table)) 996 semanticdb-current-table))
993 (result (semantic-find-tags-for-completion 997 (result (semantic-find-tags-for-completion
994 prefix 998 prefix
995 ;; To do this kind of search with a pre-built completion 999 ;; To do this kind of search with a pre-built completion
996 ;; list, we need to strip it first. 1000 ;; list, we need to strip it first.
997 (semanticdb-strip-find-results completionlist))) 1001 (semanticdb-strip-find-results completionlist))))
998 )
999 (if result 1002 (if result
1000 (list (cons table result))))) 1003 (list (cons table result)))))
1001 1004