Show
Ignore:
Timestamp:
05/27/06 10:35:24 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/progmodes/make-mode.el

    r4037 r4091  
    247247  :type '(repeat (list string)) 
    248248  :group 'makefile) 
     249(put 'makefile-special-targets-list 'risky-local-variable t) 
    249250 
    250251(defcustom makefile-runtime-macros-list 
     
    545546  :group 'makefile) 
    546547 
    547 (defcustom makefile-query-one-target-method 'makefile-query-by-make-minus-q 
     548(defcustom makefile-query-one-target-method-function 
     549  'makefile-query-by-make-minus-q 
    548550  "*Function to call to determine whether a make target is up to date. 
    549551The function must satisfy this calling convention: 
     
    561563  :type 'function 
    562564  :group 'makefile) 
     565(defvaralias 'makefile-query-one-target-method 
     566  'makefile-query-one-target-method-function) 
    563567 
    564568(defcustom makefile-up-to-date-buffer-name "*Makefile Up-to-date overview*" 
     
    671675(defvar makefile-target-table nil 
    672676  "Table of all target names known for this buffer.") 
     677(put 'makefile-target-table 'risky-local-variable t) 
    673678 
    674679(defvar makefile-macro-table nil 
    675680  "Table of all macro names known for this buffer.") 
     681(put 'makefile-macro-table 'risky-local-variable t) 
    676682 
    677683(defvar makefile-browser-client 
     
    725731If you are editing a file for a different make, try one of the 
    726732variants `makefile-automake-mode', `makefile-gmake-mode', 
    727 `makefile-makepp-mode', `makefile-bsdmake-mode' or,  
    728 `makefile-imake-mode'All but the 
    729 last should be correctly chosen based on the file name, except if 
    730 it is *.mk.  This function ends by invoking the function(s) 
    731 `makefile-mode-hook'. 
     733`makefile-makepp-mode', `makefile-bsdmake-mode' or, 
     734`makefile-imake-mode'.  All but the last should be correctly 
     735chosen based on the file name, except if it is *.mk.  This 
     736function ends by invoking the function(s) `makefile-mode-hook'. 
    732737 
    733738It is strongly recommended to use `font-lock-mode', because that 
     
    16171622(defun makefile-query-targets (filename target-table prereq-list) 
    16181623  "Fill the up-to-date overview buffer. 
    1619 Checks each target in TARGET-TABLE using `makefile-query-one-target-method' 
     1624Checks each target in TARGET-TABLE using 
     1625`makefile-query-one-target-method-function' 
    16201626and generates the overview, one line per target name." 
    16211627  (insert 
     
    16261632                       (needs-rebuild (or no-prereqs 
    16271633                                          (funcall 
    1628                                            makefile-query-one-target-method 
     1634                                           makefile-query-one-target-method-function 
    16291635                                           target-name 
    16301636                                           filename))))