Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e38427c5
Commit
e38427c5
authored
Jun 14, 2000
by
Gerd Moellmann
Browse files
(goto-address): Don't bind C-c RET locally.
(goto-address-highlight-keymap): Bind C-c RET.
parent
9f25f6fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/net/goto-addr.el
lisp/net/goto-addr.el
+1
-1
No files found.
lisp/net/goto-addr.el
View file @
e38427c5
...
@@ -104,6 +104,7 @@ But only if `goto-address-highlight-p' is also non-nil."
...
@@ -104,6 +104,7 @@ But only if `goto-address-highlight-p' is also non-nil."
(
defvar
goto-address-highlight-keymap
(
defvar
goto-address-highlight-keymap
(
let
((
m
(
make-sparse-keymap
)))
(
let
((
m
(
make-sparse-keymap
)))
(
define-key
m
[mouse-2]
'goto-address-at-mouse
)
(
define-key
m
[mouse-2]
'goto-address-at-mouse
)
(
define-key
m
"\C-c\r"
'goto-address-at-point
)
m
)
m
)
"keymap to hold goto-addr's mouse key defs under highlighted URLs."
)
"keymap to hold goto-addr's mouse key defs under highlighted URLs."
)
...
@@ -229,7 +230,6 @@ By default, goto-address binds to mouse-2 and C-c RET.
...
@@ -229,7 +230,6 @@ By default, goto-address binds to mouse-2 and C-c RET.
Also fontifies the buffer appropriately (see `goto-address-fontify-p' and
Also fontifies the buffer appropriately (see `goto-address-fontify-p' and
`goto-address-highlight-p' for more information)."
`goto-address-highlight-p' for more information)."
(
interactive
)
(
interactive
)
(
local-set-key
"\C-c\r"
'goto-address-at-point
)
(
if
goto-address-highlight-p
(
if
goto-address-highlight-p
(
goto-address-fontify
)))
(
goto-address-fontify
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment