Function: semantic-with-buffer-narrowed-to-current-tag

semantic-with-buffer-narrowed-to-current-tag is a macro defined in tag.el.gz.

Signature

(semantic-with-buffer-narrowed-to-current-tag &rest BODY)

Documentation

Execute BODY with the buffer narrowed to the current tag.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/tag.el.gz
(defmacro semantic-with-buffer-narrowed-to-current-tag (&rest body)
  "Execute BODY with the buffer narrowed to the current tag."
  (declare (indent 0) (debug t))
  `(save-restriction
     (semantic-narrow-to-tag (semantic-current-tag))
     ,@body))