Commit 3c8dd9b9 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(derived-mode-run-hooks): Reinstalled, as it is needed for pre-21 compatibility.

Thanks to Stefan Monnier for pointing this out.
parent dc524e8b
2005-07-15 Juanma Barranquero <>
* emacs-lisp/derived.el (derived-mode-run-hooks): Remove.
(derived-mode-hook-name): Doc fix.
* emacs-lisp/derived.el (derived-mode-hook-name): Doc fix.
2005-07-14 Dan Nicolaescu <>
......@@ -382,6 +382,12 @@ Always merge its parent into it, since the merge is non-destructive."
(derived-mode-merge-abbrev-tables old-table new-table)
(setq local-abbrev-table new-table)))
(defun derived-mode-run-hooks (mode)
"Run the mode hook for MODE."
(let ((hooks-name (derived-mode-hook-name mode)))
(if (boundp hooks-name)
(run-hooks hooks-name))))
;; Functions to merge maps and tables.
(defun derived-mode-merge-keymaps (old new)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment