Prevent find-file-at-point from pinging what looks like domains

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 #2654.
This commit is contained in:
Wieland Hoffmann 2016-06-21 21:15:56 +02:00 committed by syl20bnr
parent 31f37fc4d7
commit aa8b69a006

View file

@ -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
;; ---------------------------------------------------------------------------