From ae0c249465611c8022c5549a2a3e322b14df3f42 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 27 Jul 2010 18:37:25 +0200 Subject: [PATCH] Derive programming modes from prog-mode. * progmodes/js.el (js-mode): * progmodes/make-mode.el (makefile-mode): * progmodes/simula.el (simula-mode): * progmodes/tcl.el (tcl-mode): Derive from prog-mode. --- lisp/ChangeLog | 7 +++++++ lisp/progmodes/js.el | 2 +- lisp/progmodes/make-mode.el | 2 +- lisp/progmodes/simula.el | 2 +- lisp/progmodes/tcl.el | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aa4a479e1e2..dd3911f61f4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2010-07-27 Tom Tromey + + * progmodes/js.el (js-mode): + * progmodes/make-mode.el (makefile-mode): + * progmodes/simula.el (simula-mode): + * progmodes/tcl.el (tcl-mode): Derive from prog-mode. + 2010-07-27 Juanma Barranquero * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494). diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index 60ed14afbac..d6feca4d8a0 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el @@ -3268,7 +3268,7 @@ If one hasn't been set, or if it's stale, prompt for a new one." ;;; Main Function ;;;###autoload -(define-derived-mode js-mode nil "js" +(define-derived-mode js-mode prog-mode "js" "Major mode for editing JavaScript. Key bindings: diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 7a1aa3e70f4..15664c8e56d 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -768,7 +768,7 @@ The function must satisfy this calling convention: ;;; ------------------------------------------------------------ ;;;###autoload -(define-derived-mode makefile-mode nil "Makefile" +(define-derived-mode makefile-mode prog-mode "Makefile" "Major mode for editing standard Makefiles. If you are editing a file for a different make, try one of the diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index 3f842903b0d..f8d1a6aca97 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el @@ -330,7 +330,7 @@ for SIMULA mode to function correctly." (popup-menu (cons (concat mode-name " Mode Commands") simula-mode-menu))) ;;;###autoload -(define-derived-mode simula-mode nil "Simula" +(define-derived-mode simula-mode prog-mode "Simula" "Major mode for editing SIMULA code. \\{simula-mode-map} Variables controlling indentation style: diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index 58b8be8c7ba..29096a23046 100644 --- a/lisp/progmodes/tcl.el +++ b/lisp/progmodes/tcl.el @@ -545,7 +545,7 @@ Uses variables `tcl-proc-regexp' and `tcl-keyword-list'." ;; ;;;###autoload -(define-derived-mode tcl-mode nil "Tcl" +(define-derived-mode tcl-mode prog-mode "Tcl" "Major mode for editing Tcl code. Expression and list commands understand all Tcl brackets. Tab indents for Tcl code. -- 2.39.2