changeset 29653:dfb2dd2b862a

(goto-address): Don't bind C-c RET locally. (goto-address-highlight-keymap): Bind C-c RET.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 14 Jun 2000 13:37:44 +0000
parents 35fabb4b6bab
children 16fbddb97bd4
files lisp/net/goto-addr.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/goto-addr.el	Wed Jun 14 13:37:07 2000 +0000
+++ b/lisp/net/goto-addr.el	Wed Jun 14 13:37:44 2000 +0000
@@ -104,6 +104,7 @@
 (defvar goto-address-highlight-keymap
   (let ((m (make-sparse-keymap)))
     (define-key m [mouse-2] 'goto-address-at-mouse)
+    (define-key m "\C-c\r" 'goto-address-at-point)
     m)
   "keymap to hold goto-addr's mouse key defs under highlighted URLs.")
 
@@ -229,7 +230,6 @@
 Also fontifies the buffer appropriately (see `goto-address-fontify-p' and
 `goto-address-highlight-p' for more information)."
   (interactive)
-  (local-set-key "\C-c\r" 'goto-address-at-point)
   (if goto-address-highlight-p
       (goto-address-fontify)))