Update README.md and use bound-and-true-p with minimal-emacs-package-initialize-and-refresh

This commit is contained in:
James Cherti
2024-08-23 14:47:42 -04:00
parent 86ef126937
commit 3cdd6ab099
2 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
# Minimal ~/.emacs.d - Emacs Starter Kit with Better Defaults and Optimized Startup
![License](https://img.shields.io/github/license/jamescherti/be-quiet.el)
![](https://raw.githubusercontent.com/jamescherti/minimal-emacs.d/main/.images/made-for-gnu-emacs.svg)
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))

View File

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