[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115874: * net/eww.el (eww): Support single/double q
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] trunk r115874: * net/eww.el (eww): Support single/double quote for search. |
Date: |
Sun, 05 Jan 2014 09:25:10 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115874
revision-id: address@hidden
parent: address@hidden
author: Kenjiro NAKAYAMA <address@hidden>
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Sun 2014-01-05 10:25:05 +0100
message:
* net/eww.el (eww): Support single/double quote for search.
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/net/eww.el eww.el-20130610114603-80ap3gwnw4x4m5ix-1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-01-05 06:10:52 +0000
+++ b/lisp/ChangeLog 2014-01-05 09:25:05 +0000
@@ -1,3 +1,7 @@
+2014-01-05 Kenjiro NAKAYAMA <address@hidden>
+
+ * net/eww.el (eww): Support single/double quote for search.
+
2014-01-05 Paul Eggert <address@hidden>
Fix misspelling of 'chinese' in rx (Bug#16237).
=== modified file 'lisp/net/eww.el'
--- a/lisp/net/eww.el 2014-01-01 07:43:34 +0000
+++ b/lisp/net/eww.el 2014-01-05 09:25:05 +0000
@@ -157,8 +157,9 @@
(user-error "FTP is not supported."))
(t
(if (and (= (length (split-string url)) 1)
- (or (> (length (split-string url "\\.")) 1)
- (string-match eww-local-regex url)))
+ (or (and (not (string-match-p "\\`[\"\'].*[\"\']\\'" url))
+ (> (length (split-string url "\\.")) 1))
+ (string-match eww-local-regex url)))
(progn
(unless (string-match-p "\\`[a-zA-Z][-a-zA-Z0-9+.]*://" url)
(setq url (concat "http://" url)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115874: * net/eww.el (eww): Support single/double quote for search.,
Lars Ingebrigtsen <=