]> git.eshelyaron.com Git - emacs.git/commitdiff
Replace some obsolete aliases in code
authorGlenn Morris <rgm@gnu.org>
Wed, 7 Mar 2018 20:44:08 +0000 (15:44 -0500)
committerGlenn Morris <rgm@gnu.org>
Wed, 7 Mar 2018 20:44:08 +0000 (15:44 -0500)
* 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
lisp/textmodes/reftex-toc.el

index 57b748b15001cad6fb692530d33ab5646c758539..584d1a9d0d8b29266367e03498520925c06b46b1 100644 (file)
@@ -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)
index 6637da4b144f6e5f7c82a333e67611fd5026c2f4..9c158a5f569efc64db4948ba59cbd6bd0a17fd15 100644 (file)
@@ -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