From 685175404f04b56daeb5c706333e35f671e60e82 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 7 Mar 2018 15:44:08 -0500 Subject: [PATCH] Replace some obsolete aliases in code * lisp/net/eudc-bob.el (eudc-bob-mail-keymap): * lisp/textmodes/reftex-toc.el (reftex-make-separate-toc-frame): Replace obsolete aliases. --- lisp/net/eudc-bob.el | 2 +- lisp/textmodes/reftex-toc.el | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/net/eudc-bob.el b/lisp/net/eudc-bob.el index 57b748b1500..584d1a9d0d8 100644 --- a/lisp/net/eudc-bob.el +++ b/lisp/net/eudc-bob.el @@ -312,7 +312,7 @@ display a button." (define-key map [return] 'goto-address-at-point) (define-key map (if (featurep 'xemacs) [button2] - [down-mouse-2]) 'goto-address-at-mouse) + [down-mouse-2]) 'goto-address-at-point) map)) (set-keymap-parent eudc-bob-image-keymap eudc-bob-generic-keymap) diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 6637da4b144..9c158a5f569 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el @@ -1096,7 +1096,7 @@ always show the current section in connection with the option (when (eq reftex-auto-recenter-toc 'frame) (unless reftex-toc-auto-recenter-timer (reftex-toggle-auto-toc-recenter)) - (add-hook 'delete-frame-hook 'reftex-toc-delete-frame-hook))))) + (add-hook 'delete-frame-functions 'reftex-toc-delete-frame-hook))))) (defun reftex-toc-delete-frame-hook (frame) (if (and reftex-toc-auto-recenter-timer -- 2.39.2