[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r118285: * net/eww.el (eww): Trim URL with `string-t
From: |
Teodor Zlatanov |
Subject: |
[Emacs-diffs] trunk r118285: * net/eww.el (eww): Trim URL with `string-trim'. |
Date: |
Tue, 04 Nov 2014 16:31:56 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 118285
revision-id: address@hidden
parent: address@hidden
committer: Ted Zlatanov <address@hidden>
branch nick: quickfixes
timestamp: Tue 2014-11-04 11:31:33 -0500
message:
* net/eww.el (eww): Trim URL with `string-trim'.
Suggested by Vibhav Pant <address@hidden>.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/net/eww.el eww.el-20130610114603-80ap3gwnw4x4m5ix-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-11-03 23:46:20 +0000
+++ b/lisp/ChangeLog 2014-11-04 16:31:33 +0000
@@ -1,3 +1,8 @@
+2014-11-04 Teodor Zlatanov <address@hidden>
+
+ * net/eww.el (eww): Trim URL with `string-trim'.
+ Suggested by Vibhav Pant <address@hidden>.
+
2014-11-03 Lars Magne Ingebrigtsen <address@hidden>
* net/eww.el (eww-score-readability): Don't count comments positively.
=== modified file 'lisp/net/eww.el'
--- a/lisp/net/eww.el 2014-11-03 23:46:20 +0000
+++ b/lisp/net/eww.el 2014-11-04 16:31:33 +0000
@@ -160,6 +160,7 @@
If the input doesn't look like an URL or a domain name, the
word(s) will be searched for via `eww-search-prefix'."
(interactive "sEnter URL or keywords: ")
+ (setq url (string-trim url))
(cond ((string-match-p "\\`file:/" url))
((string-match-p "\\`ftp://" url)
(user-error "FTP is not supported."))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r118285: * net/eww.el (eww): Trim URL with `string-trim'.,
Teodor Zlatanov <=