Declare package-archive-priorities using setq and other minor changes
This commit is contained in:
@@ -1381,7 +1381,7 @@ If you prefer MELPA Stable over MELPA, you can add MELPA Stable and prioritize i
|
||||
;; This change increases MELPA Stable priority to 70, above MELPA,
|
||||
;; ensuring that MELPA is preferred for package installations
|
||||
;; over MELPA Stable.
|
||||
(customize-set-variable 'package-archive-priorities '(("gnu" . 99)
|
||||
(setq package-archive-priorities '(("gnu" . 99)
|
||||
("nongnu" . 80)
|
||||
("melpa-stable" . 70)
|
||||
("melpa" . 0)))
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
(defvar minimal-emacs-ui-features '()
|
||||
"List of user interface features to enable in minimal Emacs setup.
|
||||
This variable holds a list Emacs UI features that can be enabled:
|
||||
This variable holds a list of Emacs UI features that can be enabled:
|
||||
- context-menu (Enables the context menu in graphical environments.)
|
||||
- tool-bar (Enables the tool bar in graphical environments.)
|
||||
- menu-bar (Enables the menu bar in graphical environments.)
|
||||
@@ -39,15 +39,15 @@ This variable holds a list Emacs UI features that can be enabled:
|
||||
(defvar minimal-emacs-debug (bound-and-true-p init-file-debug)
|
||||
"Non-nil to enable debug.")
|
||||
|
||||
(defvar minimal-emacs-gc-cons-threshold (* 32 1024 1024)
|
||||
"Value to set `gc-cons-threshold' to after Emacs startup.
|
||||
Ignored if `minimal-emacs-optimize-startup-gc' is nil.")
|
||||
|
||||
(defvar minimal-emacs-optimize-startup-gc t
|
||||
"If non-nil, increase `gc-cons-threshold' during startup to reduce pauses.
|
||||
After Emacs finishes loading, `gc-cons-threshold' is restored to the value
|
||||
stored in `minimal-emacs--restore-gc-cons-threshold'.")
|
||||
|
||||
(defvar minimal-emacs-gc-cons-threshold (* 32 1024 1024)
|
||||
"Value to which `gc-cons-threshold' is set after Emacs startup.
|
||||
Ignored if `minimal-emacs-optimize-startup-gc' is nil.")
|
||||
|
||||
(defvar minimal-emacs-inhibit-redisplay-during-startup nil
|
||||
"Suppress redisplay during startup to improve performance.
|
||||
This prevents visual updates while Emacs initializes. The tradeoff is that you
|
||||
@@ -432,7 +432,7 @@ this stage of initialization."
|
||||
(setq package-archives '(("melpa" . "https://melpa.org/packages/")
|
||||
("gnu" . "https://elpa.gnu.org/packages/")
|
||||
("nongnu" . "https://elpa.nongnu.org/nongnu/")))
|
||||
(customize-set-variable 'package-archive-priorities '(("gnu" . 99)
|
||||
(setq package-archive-priorities '(("gnu" . 99)
|
||||
("nongnu" . 80)
|
||||
("melpa" . 70)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user