# HG changeset patch # User Lute Kamstra # Date 1117113660 0 # Node ID 76921bae4308d54ea5f05f39b5148ace78944745 # Parent 2a202d28720a2ea4075329b25ff17a564071809b (terminal-edit-mode): Use run-mode-hooks. diff -r 2a202d28720a -r 76921bae4308 lisp/terminal.el --- a/lisp/terminal.el Thu May 26 13:17:27 2005 +0000 +++ b/lisp/terminal.el Thu May 26 13:21:00 2005 +0000 @@ -1,6 +1,6 @@ ;;; terminal.el --- terminal emulator for GNU Emacs -;; Copyright (C) 1986,87,88,89,93,94 Free Software Foundation, Inc. +;; Copyright (C) 1986, 1987, 1988, 1989, 1993, 1994 Free Software Foundation, Inc. ;; Author: Richard Mlynarik ;; Maintainer: FSF @@ -537,7 +537,7 @@ (setq mode-name "Terminal Edit") (setq mode-line-modified (default-value 'mode-line-modified)) (setq mode-line-process nil) - (run-hooks 'terminal-edit-mode-hook)) + (run-mode-hooks 'terminal-edit-mode-hook)) (defun te-edit () "Start editing the terminal emulator buffer with ordinary Emacs commands."