From 3cdd6ab099bf11645561e3a34e8650bb50aea52d Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Fri, 23 Aug 2024 14:47:42 -0400 Subject: [PATCH] Update README.md and use bound-and-true-p with minimal-emacs-package-initialize-and-refresh --- README.md | 3 +++ init.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a3d07aa..87b00ac 100644 --- a/README.md +++ b/README.md @@ -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)) diff --git a/init.el b/init.el index bce6e34..729bef7 100644 --- a/init.el +++ b/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)))