Skip to content

Commit

Permalink
Prevent find-file-at-point from pinging what looks like domains
Browse files Browse the repository at this point in the history
Previously,

* typing `gf` in domain names (for example google.com) in normal buffers
* typing `<tab>` in domain names in the minibuffer

would start pinging that domain name. This is not really useful, so
disable it.

Fixes syl20bnr#2654.
  • Loading branch information
mineo committed Jun 21, 2016
1 parent 7de26d5 commit c36a0a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions layers/+distributions/spacemacs-base/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ It runs `tabulated-list-revert-hook', then calls `tabulated-list-print'."
;; Scroll compilation to first error or end
(setq compilation-scroll-output 'first-error)

;; Don't try to ping things that look like domain names
(setq ffap-machine-p-known 'reject)

;; ---------------------------------------------------------------------------
;; Edit
;; ---------------------------------------------------------------------------
Expand Down

0 comments on commit c36a0a9

Please sign in to comment.