diff options
| author | Lute Kamstra <lute@gnu.org> | 2005-05-26 13:17:27 +0000 |
|---|---|---|
| committer | Lute Kamstra <lute@gnu.org> | 2005-05-26 13:17:27 +0000 |
| commit | 6d0be2925aca572a46c716a70eca062e48e3e228 (patch) | |
| tree | 5dcd7eb14aacce5e3ac3509fb49a737161dded0e | |
| parent | 3851a30d2f2f90eaa9bdfb89cc1f360da1752ec6 (diff) | |
| download | emacs-6d0be2925aca572a46c716a70eca062e48e3e228.tar.gz | |
Use run-mode-hooks in example.
(term-mode): Use run-mode-hooks.
| -rw-r--r-- | lisp/term.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/term.el b/lisp/term.el index 2b89b83fb04..47411b5099a 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -1102,7 +1102,7 @@ Entry to this mode runs the hooks on `term-mode-hook'." (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 @@ the process. Any more args are arguments to PROGRAM." ;;; (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 |
