changeset 51981:e363b422bcd4

(emacs-lisp-mode): Use run-mode-hooks. (lisp-mode): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Mon, 21 Jul 2003 09:58:06 +0000
parents b7fa62a1a49d
children f3d2ca716f2c
files lisp/emacs-lisp/lisp-mode.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Mon Jul 21 09:57:01 2003 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Mon Jul 21 09:58:06 2003 +0000
@@ -320,7 +320,7 @@
   (setq mode-name "Emacs-Lisp")
   (lisp-mode-variables)
   (setq imenu-case-fold-search nil)
-  (run-hooks 'emacs-lisp-mode-hook))
+  (run-mode-hooks 'emacs-lisp-mode-hook))
 (put 'emacs-lisp-mode 'custom-mode-group 'lisp)
 
 (defvar lisp-mode-map
@@ -356,7 +356,7 @@
   (setq font-lock-keywords-case-fold-search t)
   (setq imenu-case-fold-search t)
   (set-syntax-table lisp-mode-syntax-table)
-  (run-hooks 'lisp-mode-hook))
+  (run-mode-hooks 'lisp-mode-hook))
 
 ;; This will do unless inf-lisp.el is loaded.
 (defun lisp-eval-defun (&optional and-go)