aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-05-26 13:21:00 +0000
committerLute Kamstra2005-05-26 13:21:00 +0000
commitcaaaa40ef94ac38d2c1b0d2b24e0d42edab25781 (patch)
treedef2984aa3ecf469c7d3bb0f656726ee7fb8f630
parent6d0be2925aca572a46c716a70eca062e48e3e228 (diff)
downloademacs-caaaa40ef94ac38d2c1b0d2b24e0d42edab25781.tar.gz
emacs-caaaa40ef94ac38d2c1b0d2b24e0d42edab25781.zip
(terminal-edit-mode): Use run-mode-hooks.
-rw-r--r--lisp/terminal.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/terminal.el b/lisp/terminal.el
index b84b1b6ed00..6b055200359 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -1,6 +1,6 @@
1;;; terminal.el --- terminal emulator for GNU Emacs 1;;; terminal.el --- terminal emulator for GNU Emacs
2 2
3;; Copyright (C) 1986,87,88,89,93,94 Free Software Foundation, Inc. 3;; Copyright (C) 1986, 1987, 1988, 1989, 1993, 1994 Free Software Foundation, Inc.
4 4
5;; Author: Richard Mlynarik <mly@eddie.mit.edu> 5;; Author: Richard Mlynarik <mly@eddie.mit.edu>
6;; Maintainer: FSF 6;; Maintainer: FSF
@@ -537,7 +537,7 @@ together with a command \\<terminal-edit-map>to return to terminal emulation: \\
537 (setq mode-name "Terminal Edit") 537 (setq mode-name "Terminal Edit")
538 (setq mode-line-modified (default-value 'mode-line-modified)) 538 (setq mode-line-modified (default-value 'mode-line-modified))
539 (setq mode-line-process nil) 539 (setq mode-line-process nil)
540 (run-hooks 'terminal-edit-mode-hook)) 540 (run-mode-hooks 'terminal-edit-mode-hook))
541 541
542(defun te-edit () 542(defun te-edit ()
543 "Start editing the terminal emulator buffer with ordinary Emacs commands." 543 "Start editing the terminal emulator buffer with ordinary Emacs commands."