Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f4018140
Commit
f4018140
authored
Jan 05, 2014
by
Kenjiro NAKAYAMA
Committed by
Lars Magne Ingebrigtsen
Jan 05, 2014
Browse files
* net/eww.el (eww): Support single/double quote for search.
parent
73dbf960
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/net/eww.el
lisp/net/eww.el
+3
-2
No files found.
lisp/ChangeLog
View file @
f4018140
2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
* net/eww.el (eww): Support single/double quote for search.
2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
Fix misspelling of 'chinese' in rx (Bug#16237).
...
...
lisp/net/eww.el
View file @
f4018140
...
...
@@ -157,8 +157,9 @@ word(s) will be searched for via `eww-search-prefix'."
(
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
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment