summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/symref/cscope.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/semantic/symref/cscope.el')
-rw-r--r--lisp/cedet/semantic/symref/cscope.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/cedet/semantic/symref/cscope.el b/lisp/cedet/semantic/symref/cscope.el
index 181e3997681..42d5dcbb7fe 100644
--- a/lisp/cedet/semantic/symref/cscope.el
+++ b/lisp/cedet/semantic/symref/cscope.el
@@ -51,10 +51,10 @@ See the function `cedet-cscope-search' for more details.")
default-directory))
;; CScope has to be run from the project root where
;; cscope.out is.
- (b (cedet-cscope-search (oref tool :searchfor)
- (oref tool :searchtype)
- (oref tool :resulttype)
- (oref tool :searchscope)
+ (b (cedet-cscope-search (slot-value tool 'searchfor)
+ (slot-value tool 'searchtype)
+ (slot-value tool 'resulttype)
+ (slot-value tool 'searchscope)
))
)
(semantic-symref-parse-tool-output tool b)
@@ -66,22 +66,22 @@ See the function `cedet-cscope-search' for more details.")
(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-cscope))
"Parse one line of grep output, and return it as a match list.
Moves cursor to end of the match."
- (cond ((eq (oref tool :resulttype) 'file)
+ (cond ((eq (slot-value tool 'resulttype) 'file)
;; Search for files
(when (re-search-forward "^\\([^\n]+\\)$" nil t)
(match-string 1)))
- ((eq (oref tool :searchtype) 'tagcompletions)
+ ((eq (slot-value tool 'searchtype) 'tagcompletions)
;; Search for files
(when (re-search-forward "^[^ ]+ [^ ]+ [^ ]+ \\(.*\\)$" nil t)
(let ((subtxt (match-string 1))
- (searchtxt (oref tool :searchfor)))
+ (searchtxt (slot-value tool 'searchfor)))
(if (string-match (concat "\\<" searchtxt "\\(\\w\\|\\s_\\)*\\>")
subtxt)
(match-string 0 subtxt)
;; We have to return something at this point.
subtxt)))
)
- ((eq (oref tool :resulttype) 'line-and-text)
+ ((eq (slot-value tool 'resulttype) 'line-and-text)
(when (re-search-forward semantic-symref-cscope--line-re nil t)
(list (string-to-number (match-string 2))
(expand-file-name (match-string 1))