mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-16 19:00:55 -08:00
Fix url's thing-at-point beginning-op (Bug#32028)
* lisp/thingatpt.el (url): Fix beginning-op making.
This commit is contained in:
parent
39d3e8b6bc
commit
dd51434714
1 changed files with 1 additions and 1 deletions
|
|
@ -474,7 +474,7 @@ looks like an email address, \"ftp://\" if it starts with
|
|||
|
||||
(put 'url 'end-op (lambda () (end-of-thing 'url)))
|
||||
|
||||
(put 'url 'beginning-op (lambda () (end-of-thing 'url)))
|
||||
(put 'url 'beginning-op (lambda () (beginning-of-thing 'url)))
|
||||
|
||||
;; The normal thingatpt mechanism doesn't work for complex regexps.
|
||||
;; This should work for almost any regexp wherever we are in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue