changeset 34323:1e0fd85c0b60

(define-derived-mode): Don't use combine-run-hooks.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 07 Dec 2000 11:52:01 +0000
parents 3db707e59e21
children 4d26cf62962c
files lisp/derived.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/derived.el	Thu Dec 07 11:45:33 2000 +0000
+++ b/lisp/derived.el	Thu Dec 07 11:52:01 2000 +0000
@@ -150,7 +150,7 @@
 	 ,docstring
 	 (interactive)
 					; Run the parent.
-	 (combine-run-hooks
+	 ;; (combine-run-hooks
 
 	  (,parent)
 					; Identify special modes.
@@ -177,7 +177,8 @@
 	  (set-syntax-table ,syntax)
 	  (setq local-abbrev-table ,abbrev)
 					; Splice in the body (if any).
-	  ,@body)
+	  ,@body
+	  ;; )
 					; Run the hooks, if any.
 	 (run-hooks ',hook)))))