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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
af1624f2
Commit
af1624f2
authored
Apr 01, 2018
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/net/shr.el (shr-browse-url): Doc fix. (Bug#30957)
parent
3a451bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
lisp/net/shr.el
lisp/net/shr.el
+6
-2
No files found.
lisp/net/shr.el
View file @
af1624f2
...
...
@@ -934,8 +934,12 @@ size, and full-buffer size."
(
shr-browse-url
))
(
defun
shr-browse-url
(
&optional
external
mouse-event
)
"Browse the URL under point.
If EXTERNAL, browse the URL using `shr-external-browser'."
"Browse the URL at point using `browse-url'.
If EXTERNAL is non-nil (interactively, the prefix argument), browse
the URL using `shr-external-browser'.
If this function is invoked by a mouse click, it will browse the URL
at the position of the click. Optional argument MOUSE-EVENT describes
the mouse click event."
(
interactive
(
list
current-prefix-arg
last-nonmenu-event
))
(
mouse-set-point
mouse-event
)
(
let
((
url
(
get-text-property
(
point
)
'shr-url
)))
...
...
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