Function: semantic-sb-with-tag-buffer

semantic-sb-with-tag-buffer is a macro defined in sb.el.gz.

Signature

(semantic-sb-with-tag-buffer TAG &rest FORMS)

Documentation

Set the current buffer to the origin of TAG and execute FORMS.

Restore the old current buffer when completed.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/sb.el.gz
(defmacro semantic-sb-with-tag-buffer (tag &rest forms)
  "Set the current buffer to the origin of TAG and execute FORMS.
Restore the old current buffer when completed."
  (declare (indent 1) (debug t))
  `(save-excursion
     (semantic-sb-tag-set-buffer ,tag)
     ,@forms))