|
From: | Po Lu |
Subject: | Re: Subject: [PATCH] * lisp/xwidget.el (xwidget-webkit-browse-url): Remove space prefix of url. |
Date: | Thu, 11 Nov 2021 18:53:19 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) |
tumashu <tumashu@163.com> writes: > I often encountered in this case, when copy url, space begin url hard > notice :) I don't think a function intended for use as `browse-url-function' should make those decisions. And in any case, one should check a URL before opening it. On an unrelated note, I think the use of a regexp for stripping whitespace is unwarranted. Wouldn't `url-strip-leading-spaces' be a better candidate for this job? Thanks.
[Prev in Thread] | Current Thread | [Next in Thread] |