Exclude radio buttons when suggesting URI in eww
* lisp/net/eww.el (eww-links-at-point): Exclude radio links. (bug#56366).
This commit is contained in:
parent
906b97edb9
commit
f133336a1a
1 changed files with 3 additions and 3 deletions
|
@ -932,9 +932,9 @@ The renaming scheme is performed in accordance with
|
|||
|
||||
(defun eww-links-at-point ()
|
||||
"Return list of URIs, if any, linked at point."
|
||||
(remq nil
|
||||
(list (get-text-property (point) 'shr-url)
|
||||
(get-text-property (point) 'image-url))))
|
||||
(seq-filter #'stringp
|
||||
(list (get-text-property (point) 'shr-url)
|
||||
(get-text-property (point) 'image-url))))
|
||||
|
||||
(defun eww-view-source ()
|
||||
"View the HTML source code of the current page."
|
||||
|
|
Loading…
Add table
Reference in a new issue