aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2008-03-13 02:04:42 +0000
committerStefan Monnier <[email protected]>2008-03-13 02:04:42 +0000
commitba4f4f755d6d837de47b704fc5ba53769a7219f8 (patch)
treebbd986c2954c517a6ba13d0bb45c07fbc9e3d0d2 /lisp/term
parentd4432055529388a4e88fdb3001878ecbc8a30388 (diff)
(terminal-init-xterm): delete-frame-hook -> delete-frame-functions.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/xterm.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index 2fd8d47afa..648b4fdb52 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -500,7 +500,7 @@
(add-hook 'suspend-hook 'xterm-turn-off-modify-other-keys)
(add-hook 'suspend-resume-hook 'xterm-turn-on-modify-other-keys)
(add-hook 'kill-emacs-hook 'xterm-remove-modify-other-keys)
- (add-hook 'delete-frame-hook 'xterm-remove-modify-other-keys)
+ (add-hook 'delete-frame-functions 'xterm-remove-modify-other-keys)
;; Add the selected frame to the list of frames that
;; need to deal with modify-other-keys.
(push (frame-terminal (selected-frame))