changeset 64328:5562cab21b1f

(derived-mode-run-hooks): Remove. (derived-mode-hook-name): Doc fix.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 15 Jul 2005 01:20:41 +0000
parents 25aab22358aa
children 654fa84e4f98
files lisp/emacs-lisp/derived.el
diffstat 1 files changed, 1 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/derived.el	Thu Jul 14 22:32:50 2005 +0000
+++ b/lisp/emacs-lisp/derived.el	Fri Jul 15 01:20:41 2005 +0000
@@ -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 @@
     (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)