Function: makefile-move-to-macro
makefile-move-to-macro is a byte-compiled function defined in
makefile-edit.el.gz.
Signature
(makefile-move-to-macro MACRO &optional NEXT)
Documentation
Move to the definition of MACRO. Return t if found.
If NEXT is non-nil, move to the next occurrence of MACRO.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/makefile-edit.el.gz
;;; Programmatic editing of a Makefile
;;
(defun makefile-move-to-macro (macro &optional next)
"Move to the definition of MACRO. Return t if found.
If NEXT is non-nil, move to the next occurrence of MACRO."
(let ((oldpt (point)))
(when (not next) (goto-char (point-min)))
(if (re-search-forward (concat "^\\s-*" (regexp-quote macro) "\\s-*[+:?]?=")
nil t)
t
(goto-char oldpt)
nil)))