[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

patch: Unification of GNU Make naming in make-mode.el

From: Eduard Wiebe
Subject: patch: Unification of GNU Make naming in make-mode.el
Date: Fri, 24 Oct 2008 23:31:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix)


In make-mode.el all function und variable names belonging to GNU make
are named by "gmake" with some few exceptions. The following patch
eliminates these.

diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index f39484a..217d087 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -740,7 +740,7 @@ The function must satisfy this calling convention:
 ;; Each element looks like '("GNU MAKE FUNCTION" "ARG" "ARG" ... )
 ;; Each "ARG" is used as a prompt for a required argument.
-(defconst makefile-gnumake-functions-alist
+(defconst makefile-gmake-functions-alist
     ;; Text functions
     ("subst" "From" "To" "In")
@@ -1732,10 +1732,10 @@ Then prompts for all required parameters."
   (let* ((gm-function-name (completing-read
                             "Function: "
-                            makefile-gnumake-functions-alist
+                            makefile-gmake-functions-alist
                             nil t nil))
-         (cdr (assoc gm-function-name makefile-gnumake-functions-alist))))
+         (cdr (assoc gm-function-name makefile-gmake-functions-alist))))
     (if (not (zerop (length gm-function-name)))
        (insert (makefile-format-macro-ref
                 (concat gm-function-name " "

Eduard Wiebe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]