-
-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buffer: Remove :CHECK-DNS-P, a redundant check and a wrong call to VA…
…LID-TLD-P. 1) Replace (and check-dns-p (valid-tld-p ...)) with (valid-tld-p ...). I cannot remember why I added that extra conditional. 2) On the same line: replace valid-tld-p with valid-url-p. What if my query is "example.com/foo" rather than "example.com"? 3) Now check-dns-p is not needed anywhere in buffer.lisp, so I remove it. This fixes the situation when I want to visit "github.com/atlas-engineer" and get a search with the default search engine instead. Related commits: 377e9ab: makes :CHECK-DNS-P redundant, replaces a correct call to VALID-URL-P with a wrong call to VALID-TLD-P.
- Loading branch information
1 parent
bb3aaca
commit f27d9f9
Showing
1 changed file
with
35 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters