Function: makefile-navigate-macro

makefile-navigate-macro is a byte-compiled function defined in makefile-edit.el.gz.

Signature

(makefile-navigate-macro STOP-BEFORE)

Documentation

In a list of files, move forward until STOP-BEFORE is reached.

STOP-BEFORE is a regular expression matching a file name.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/ede/makefile-edit.el.gz
(defun makefile-navigate-macro (stop-before)
  "In a list of files, move forward until STOP-BEFORE is reached.
STOP-BEFORE is a regular expression matching a file name."
  (save-excursion
    (makefile-beginning-of-command)
    (let ((e (save-excursion
	       (makefile-end-of-command)
	       (point))))
      (if (re-search-forward stop-before nil t)
	  (goto-char (match-beginning 0))
	(goto-char e)))))