diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-07 11:52:01 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-12-07 11:52:01 +0000 |
commit | b761da871c8bf9529c5c7f5bd3785fd5527ff8ad (patch) | |
tree | 5a115c35c510f08135577879a2d2c5bc07258c73 | |
parent | 959e647dcff6744bab020f8005b59981ed56c18c (diff) | |
download | emacs-b761da871c8bf9529c5c7f5bd3785fd5527ff8ad.tar.gz |
(define-derived-mode): Don't use combine-run-hooks.
-rw-r--r-- | lisp/derived.el | 5 |
1 files changed, 3 insertions, 2 deletions
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))))) |