(define-derived-mode): Don't use combine-run-hooks.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 7 Dec 2000 11:52:01 +0000 (11:52 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 7 Dec 2000 11:52:01 +0000 (11:52 +0000)
lisp/derived.el

index b8be0c3..8dc2097 100644 (file)
@@ -150,7 +150,7 @@ been generated automatically, with a reference to the keymap."
         ,docstring
         (interactive)
                                        ; Run the parent.
-        (combine-run-hooks
+        ;; (combine-run-hooks
 
          (,parent)
                                        ; Identify special modes.
@@ -177,7 +177,8 @@ been generated automatically, with a reference to the keymap."
          (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)))))