Mercurial > emacs
changeset 62744:2a202d28720a
Use run-mode-hooks in example.
(term-mode): Use run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 26 May 2005 13:17:27 +0000 |
parents | 7cddc6393864 |
children | 76921bae4308 |
files | lisp/term.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term.el Thu May 26 13:15:42 2005 +0000 +++ b/lisp/term.el Thu May 26 13:17:27 2005 +0000 @@ -1102,7 +1102,7 @@ (make-local-variable 'term-current-face) (make-local-variable 'term-pending-frame) (setq term-pending-frame nil) - (run-hooks 'term-mode-hook) + (run-mode-hooks 'term-mode-hook) (term-if-xemacs (set-buffer-menubar (append current-menubar (list term-terminal-menu)))) @@ -4179,7 +4179,7 @@ ;;; (make-local-variable 'shell-directory-stack) ;;; (setq shell-directory-stack nil) ;;; (add-hook 'term-input-filter-functions 'shell-directory-tracker) -;;; (run-hooks 'shell-mode-hook)) +;;; (run-mode-hooks 'shell-mode-hook)) ;;; ;;; ;;; Completion for term-mode users