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

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

Signature

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

Documentation

Execute BODY with the buffer narrowed to the current command.

Source Code

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