From: Stefan Monnier Date: Thu, 7 Dec 2000 11:52:01 +0000 (+0000) Subject: (define-derived-mode): Don't use combine-run-hooks. X-Git-Tag: emacs-pretest-21.0.93~120 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b761da871c8bf9529c5c7f5bd3785fd5527ff8ad;p=emacs.git (define-derived-mode): Don't use combine-run-hooks. --- diff --git a/lisp/derived.el b/lisp/derived.el index b8be0c3f0d1..8dc20972787 100644 --- a/lisp/derived.el +++ b/lisp/derived.el @@ -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)))))