about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-02-01 06:58:36 +0000
committerDavid Morgan <djm_uk@protonmail.com>2023-02-01 06:58:36 +0000
commitd5c3b0e2cce25a7049bb7f1801917489b43f6dae (patch)
tree824d298c5b58fd75434570a3ce406c354cfae5a0 /.emacs.d
parentba4db2a7973266850a7b5f527c44ba1ee232dcc7 (diff)
downloaddotfiles-d5c3b0e2cce25a7049bb7f1801917489b43f6dae.tar.gz
Prevent pinging remote hosts unnecessarily
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-editor.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index a3b87d2..01ece4f 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -47,8 +47,10 @@
         mouse-yank-at-point t
         require-final-newline t)
 
-  (setq ffap-machine-p-known 'reject)
-
+  (setq ffap-machine-p-local 'accept
+        ffap-machine-p-known 'reject
+        ffap-machine-p-unkown 'reject)
+  ;; #111111 #0f0f0f gray10 grey20
   ;; https://github.com/natecox/dotfiles/blob/master/workspaces/shared/symlinks/emacs/.emacs.d/nathancox.org
   (setq sentence-end-double-space nil)
   (set-charset-priority 'unicode)