diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-11-15 23:54:21 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-11-15 23:54:21 +0000 |
commit | 4cf1d7e39cfd52b756005bafdbeeaa49109887ef (patch) | |
tree | ab2fcb0d553f4c8de47a59f0dbdfe764392b19c4 /lisp/cedet | |
parent | 6616006b025a584a907e70dfffe54f65fc89e058 (diff) | |
download | emacs-4cf1d7e39cfd52b756005bafdbeeaa49109887ef.tar.gz |
* register.el (jump-to-register, insert-register): Handle Semantic
tags. From commented-out advice in semantic/senator.el.
Diffstat (limited to 'lisp/cedet')
-rw-r--r-- | lisp/cedet/semantic/senator.el | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lisp/cedet/semantic/senator.el b/lisp/cedet/semantic/senator.el index 522b655c208..d9dda249957 100644 --- a/lisp/cedet/semantic/senator.el +++ b/lisp/cedet/semantic/senator.el @@ -857,26 +857,6 @@ Use a senator search function when semantic isearch mode is enabled." ;; [(control ?,)] ;; 'senator-isearch-toggle-semantic-mode) -;; (defadvice insert-register (around senator activate) -;; "Insert contents of register REGISTER as a tag. -;; If senator is not active, use the original mechanism." -;; (let ((val (get-register (ad-get-arg 0)))) -;; (if (and senator-minor-mode (interactive-p) -;; (semantic-foreign-tag-p val)) -;; (semantic-insert-foreign-tag val) -;; ad-do-it))) - -;; (defadvice jump-to-register (around senator activate) -;; "Insert contents of register REGISTER as a tag. -;; If senator is not active, use the original mechanism." -;; (let ((val (get-register (ad-get-arg 0)))) -;; (if (and senator-minor-mode (interactive-p) -;; (semantic-foreign-tag-p val)) -;; (progn -;; (switch-to-buffer (semantic-tag-buffer val)) -;; (goto-char (semantic-tag-start val))) -;; ad-do-it))) - (provide 'semantic/senator) ;; Local variables: |