diff options
Diffstat (limited to 'lisp/cedet/semantic/analyze.el')
-rw-r--r-- | lisp/cedet/semantic/analyze.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el index 9918aacadd1..696b864cd20 100644 --- a/lisp/cedet/semantic/analyze.el +++ b/lisp/cedet/semantic/analyze.el @@ -202,7 +202,7 @@ Optional argument DESIRED-TYPE may be a non-type tag to analyze." (cl-defmethod semantic-analyze-interesting-tag ((context semantic-analyze-context)) "Return a tag from CONTEXT that would be most interesting to a user." - (let ((prefix (reverse (oref context :prefix)))) + (let ((prefix (reverse (slot-value context 'prefix)))) ;; Go back through the prefix until we find a tag we can return. (while (and prefix (not (semantic-tag-p (car prefix)))) (setq prefix (cdr prefix))) @@ -212,12 +212,12 @@ Optional argument DESIRED-TYPE may be a non-type tag to analyze." (cl-defmethod semantic-analyze-interesting-tag ((context semantic-analyze-context-functionarg)) "Try the base, and if that fails, return what we are assigning into." - (or (cl-call-next-method) (car-safe (oref context :function)))) + (or (cl-call-next-method) (car-safe (slot-value context 'function)))) (cl-defmethod semantic-analyze-interesting-tag ((context semantic-analyze-context-assignment)) "Try the base, and if that fails, return what we are assigning into." - (or (cl-call-next-method) (car-safe (oref context :assignee)))) + (or (cl-call-next-method) (car-safe (slot-value context 'assignee)))) ;;; TYPE MEMBERS ;; @@ -760,8 +760,8 @@ Optional argument CTXT is the context to show." (cl-defmethod semantic-analyze-pulse ((context semantic-analyze-context)) "Pulse the region that CONTEXT affects." (require 'pulse) - (with-current-buffer (oref context :buffer) - (let ((bounds (oref context :bounds))) + (with-current-buffer (slot-value context 'buffer) + (let ((bounds (slot-value context 'bounds))) (when bounds (pulse-momentary-highlight-region (car bounds) (cdr bounds)))))) |