summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/derived.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2005-07-15 01:23:01 +0000
committerJuanma Barranquero <lekktu@gmail.com>2005-07-15 01:23:01 +0000
commitfea34e9fc2b1c75868182a38f3be4ff76331cb28 (patch)
tree67790681c2f26bbfcecb74aeefa63b8554cb5a6c /lisp/emacs-lisp/derived.el
parent2d5324c520af20bfb115b7c1318a22437b24dbdd (diff)
downloademacs-fea34e9fc2b1c75868182a38f3be4ff76331cb28.tar.gz
(derived-mode-run-hooks): Remove.
(derived-mode-hook-name): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp/derived.el')
-rw-r--r--lisp/emacs-lisp/derived.el15
1 files changed, 1 insertions, 14 deletions
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el
index ef8e3288bbc..244e3fb368c 100644
--- a/lisp/emacs-lisp/derived.el
+++ b/lisp/emacs-lisp/derived.el
@@ -96,7 +96,7 @@
;;; PRIVATE: defsubst must be defined before they are first used
(defsubst derived-mode-hook-name (mode)
- "Construct the mode hook name based on mode name MODE."
+ "Construct a mode-hook name based on a MODE name."
(intern (concat (symbol-name mode) "-hook")))
(defsubst derived-mode-map-name (mode)
@@ -382,19 +382,6 @@ 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-setup-function (mode)
-;;; "Run the setup function if it exists."
-
-;;; (let ((fname (derived-mode-setup-function-name mode)))
-;;; (if (fboundp fname)
-;;; (funcall fname))))
-
-(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)