changeset 92790:e1181718f4f9

(terminal-init-xterm): delete-frame-hook -> delete-frame-functions.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 13 Mar 2008 02:04:42 +0000
parents 61c661dac856
children e483f807ae52
files lisp/ChangeLog lisp/term/xterm.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Mar 13 01:57:05 2008 +0000
+++ b/lisp/ChangeLog	Thu Mar 13 02:04:42 2008 +0000
@@ -1,5 +1,8 @@
 2008-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+	* term/xterm.el (terminal-init-xterm): delete-frame-hook ->
+	delete-frame-functions.
+
 	* bookmark.el (Info-current-node): Remove.
 
 2008-03-12  Juri Linkov  <juri@jurta.org>
--- a/lisp/term/xterm.el	Thu Mar 13 01:57:05 2008 +0000
+++ b/lisp/term/xterm.el	Thu Mar 13 02:04:42 2008 +0000
@@ -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))