# HG changeset patch # User Roland Winkler # Date 1148239565 0 # Node ID 5244bd9a8bacc4b4c5515d480614af2f589c733e # Parent fbbc9639de95e7d2882d71f219daebc61231a52a (makefile-query-one-target-method): Make this the alias for the following variable. (makefile-query-one-target-method-function): Make this the real name. diff -r fbbc9639de95 -r 5244bd9a8bac lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Sun May 21 19:10:12 2006 +0000 +++ b/lisp/progmodes/make-mode.el Sun May 21 19:26:05 2006 +0000 @@ -545,7 +545,8 @@ :type 'string :group 'makefile) -(defcustom makefile-query-one-target-method 'makefile-query-by-make-minus-q +(defcustom makefile-query-one-target-method-function + 'makefile-query-by-make-minus-q "*Function to call to determine whether a make target is up to date. The function must satisfy this calling convention: @@ -561,6 +562,8 @@ makefile, any nonzero integer value otherwise." :type 'function :group 'makefile) +(defvaralias 'makefile-query-one-target-method + 'makefile-query-one-target-method-function) (defcustom makefile-up-to-date-buffer-name "*Makefile Up-to-date overview*" "*Name of the Up-to-date overview buffer." @@ -1618,7 +1621,8 @@ (defun makefile-query-targets (filename target-table prereq-list) "Fill the up-to-date overview buffer. -Checks each target in TARGET-TABLE using `makefile-query-one-target-method' +Checks each target in TARGET-TABLE using +`makefile-query-one-target-method-function' and generates the overview, one line per target name." (insert (mapconcat @@ -1627,7 +1631,7 @@ (no-prereqs (not (member target-name prereq-list))) (needs-rebuild (or no-prereqs (funcall - makefile-query-one-target-method + makefile-query-one-target-method-function target-name filename)))) (format "\t%s%s"