Function: semantic-with-buffer-narrowed-to-context

semantic-with-buffer-narrowed-to-context is a macro defined in ctxt.el.gz.

Signature

(semantic-with-buffer-narrowed-to-context &rest BODY)

Documentation

Execute BODY with the buffer narrowed to the current context.

Source Code

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