Update README.md and use bound-and-true-p with minimal-emacs-package-initialize-and-refresh
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
# Minimal ~/.emacs.d - Emacs Starter Kit with Better Defaults and Optimized Startup
|
||||

|
||||

|
||||
|
||||
The **minimal-emacs.d** repository offers a starter kit with improved Emacs defaults and optimized startup, designed to serve as a robust foundation for your vanilla Emacs configuration and enhance your overall Emacs experience.
|
||||
@@ -377,6 +378,8 @@ Configuring Vim keybindings in Emacs can greatly enhance your editing efficiency
|
||||
(setq evil-undo-system 'undo-fu)
|
||||
(setq evil-want-integration t)
|
||||
(setq evil-want-keybinding nil)
|
||||
:custom
|
||||
(evil-want-Y-yank-to-eol t)
|
||||
:config
|
||||
(evil-select-search-module 'evil-search-module 'evil-search)
|
||||
(evil-mode 1))
|
||||
|
||||
2
init.el
2
init.el
@@ -18,7 +18,7 @@
|
||||
(minimal-emacs-load-user-init "pre-init.el")
|
||||
|
||||
;;; package.el
|
||||
(when minimal-emacs-package-initialize-and-refresh
|
||||
(when (bound-and-true-p minimal-emacs-package-initialize-and-refresh)
|
||||
(package-initialize)
|
||||
(unless package-archive-contents
|
||||
(package-refresh-contents t)))
|
||||
|
||||
Reference in New Issue
Block a user