Move ffap-machine-p-known to init.el

This commit is contained in:
James Cherti
2024-10-02 13:51:52 -04:00
parent c798145103
commit 92657c9ae1
2 changed files with 5 additions and 3 deletions

View File

@@ -84,9 +84,6 @@ When set to non-nil, Emacs will automatically call `package-initialize' and
;; Prefer loading newer compiled files ;; Prefer loading newer compiled files
(setq load-prefer-newer t) (setq load-prefer-newer t)
;; Don't ping things that look like domain names.
(setq ffap-machine-p-known 'reject)
;; Font compacting can be very resource-intensive, especially when rendering ;; Font compacting can be very resource-intensive, especially when rendering
;; icon fonts on Windows. This will increase memory usage. ;; icon fonts on Windows. This will increase memory usage.
(setq inhibit-compacting-font-caches t) (setq inhibit-compacting-font-caches t)

View File

@@ -17,6 +17,11 @@
;;; Load pre-init.el ;;; Load pre-init.el
(minimal-emacs-load-user-init "pre-init.el") (minimal-emacs-load-user-init "pre-init.el")
;;; Networking
;; Don't ping things that look like domain names.
(setq ffap-machine-p-known 'reject)
;;; package.el ;;; package.el
(when (bound-and-true-p minimal-emacs-package-initialize-and-refresh) (when (bound-and-true-p minimal-emacs-package-initialize-and-refresh)
;; Initialize and refresh package contents again if needed ;; Initialize and refresh package contents again if needed