aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/cedet/srecode/mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/cedet/srecode/mode.el')
-rw-r--r--lisp/cedet/srecode/mode.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/cedet/srecode/mode.el b/lisp/cedet/srecode/mode.el
index 566ab5d366a..c92c45fa885 100644
--- a/lisp/cedet/srecode/mode.el
+++ b/lisp/cedet/srecode/mode.el
@@ -196,7 +196,7 @@ MENU-DEF is the menu to bind this into."
196 ;;(srecode-load-tables-for-mode major-mode) 196 ;;(srecode-load-tables-for-mode major-mode)
197 197
198 (let* ((modetable (srecode-get-mode-table major-mode)) 198 (let* ((modetable (srecode-get-mode-table major-mode))
199 (subtab (when modetable (oref modetable :tables))) 199 (subtab (when modetable (slot-value modetable 'tables)))
200 (context nil) 200 (context nil)
201 (active nil) 201 (active nil)
202 (ltab nil) 202 (ltab nil)
@@ -319,17 +319,17 @@ Template is chosen based on the mode of the starting buffer."
319 (if (not temp) 319 (if (not temp)
320 (error "No Template named %s" template-name)) 320 (error "No Template named %s" template-name))
321 ;; We need a template specific table, since tables chain. 321 ;; We need a template specific table, since tables chain.
322 (let ((tab (oref temp :table)) 322 (let ((tab (slot-value temp 'table))
323 (names nil) 323 (names nil)
324 ) 324 )
325 (find-file (oref tab :file)) 325 (find-file (slot-value tab 'file))
326 (setq names (semantic-find-tags-by-name (oref temp :object-name) 326 (setq names (semantic-find-tags-by-name (slot-value temp 'object-name)
327 (current-buffer))) 327 (current-buffer)))
328 (cond ((= (length names) 1) 328 (cond ((= (length names) 1)
329 (semantic-go-to-tag (car names)) 329 (semantic-go-to-tag (car names))
330 (semantic-momentary-highlight-tag (car names))) 330 (semantic-momentary-highlight-tag (car names)))
331 ((> (length names) 1) 331 ((> (length names) 1)
332 (let* ((ctxt (semantic-find-tags-by-name (oref temp :context) 332 (let* ((ctxt (semantic-find-tags-by-name (slot-value temp 'context)
333 (current-buffer))) 333 (current-buffer)))
334 (cls (semantic-find-tags-by-class 'context ctxt)) 334 (cls (semantic-find-tags-by-class 'context ctxt))
335 ) 335 )