diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index 1a15df33e50..483a2c9bd83 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -334,7 +334,7 @@ the bounds of a possible ill-formed URI (one lacking a scheme)." ;; may contain parentheses but may not contain spaces (RFC3986). (let* ((allowed-chars "--:=&?$+@-Z_[:alpha:]~#,%;*()!'") (skip-before "^[0-9a-zA-Z]") - (skip-after ":;.,!?") + (skip-after ":;.,!?'") (pt (point)) (beg (save-excursion (skip-chars-backward allowed-chars)