From: Glenn Morris Date: Wed, 7 Mar 2018 20:44:08 +0000 (-0500) Subject: Replace some obsolete aliases in code X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fbe22b5b7241a7cc09feac9649697c3c37a67826;p=emacs.git 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. --- 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