summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-07-21 09:58:06 +0000
committerRichard M. Stallman <rms@gnu.org>2003-07-21 09:58:06 +0000
commitfb16e9326788b239a5d51adff4d2f99be9e80a56 (patch)
treecb0f50f24e0acbd3c8d752a3883aa0b1ca9d206c
parent4df623c0738b6a333dae9e170376f62f426b9d25 (diff)
downloademacs-fb16e9326788b239a5d51adff4d2f99be9e80a56.tar.gz
(emacs-lisp-mode): Use run-mode-hooks.
(lisp-mode): Likewise.
-rw-r--r--lisp/emacs-lisp/lisp-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index ca4e7f10a68..fa9661f54a5 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -320,7 +320,7 @@ if that value is non-nil."
(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 @@ if that value is non-nil."
(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)