# HG changeset patch # User Lute Kamstra # Date 1117113447 0 # Node ID 2a202d28720a2ea4075329b25ff17a564071809b # Parent 7cddc639386480cadf42abb7e9fabc7fa776145a Use run-mode-hooks in example. (term-mode): Use run-mode-hooks. diff -r 7cddc6393864 -r 2a202d28720a lisp/term.el --- 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