[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 dd51434: Fix url's thing-at-point beginning-op (B
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 dd51434: Fix url's thing-at-point beginning-op (Bug#32028) |
Date: |
Sun, 29 Jul 2018 14:32:38 -0400 (EDT) |
branch: emacs-26
commit dd514347140087112cdc632ac766a76fb4fe27f0
Author: Raimon Grau <address@hidden>
Commit: Noam Postavsky <address@hidden>
Fix url's thing-at-point beginning-op (Bug#32028)
* lisp/thingatpt.el (url): Fix beginning-op making.
---
lisp/thingatpt.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el
index 7fe99b0..6a978fe 100644
--- a/lisp/thingatpt.el
+++ b/lisp/thingatpt.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 dd51434: Fix url's thing-at-point beginning-op (Bug#32028),
Noam Postavsky <=