unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* patch: Unification of GNU Make naming in make-mode.el
@ 2008-10-24 21:31 Eduard Wiebe
  0 siblings, 0 replies; only message in thread
From: Eduard Wiebe @ 2008-10-24 21:31 UTC (permalink / raw)
  To: emacs-devel


  Hello,

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."
   (interactive)
   (let* ((gm-function-name (completing-read
 			     "Function: "
-			     makefile-gnumake-functions-alist
+			     makefile-gmake-functions-alist
 			     nil t nil))
 	 (gm-function-prompts
-	  (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





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-24 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-24 21:31 patch: Unification of GNU Make naming in make-mode.el Eduard Wiebe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).