From 7eec2c42022967d0c3ad26c0f9d9551040c60cbb Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Sun, 27 Sep 2020 10:25:43 +0200 Subject: [PATCH] Eshell: Rename patch-eshell-26 to patch-eshell since it's not fixed in Emacs 27. --- .emacs.d/lisp/init-eshell.el | 3 +-- .emacs.d/lisp/{patch-eshell-26.el => patch-eshell.el} | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) rename .emacs.d/lisp/{patch-eshell-26.el => patch-eshell.el} (97%) diff --git a/.emacs.d/lisp/init-eshell.el b/.emacs.d/lisp/init-eshell.el index bcb89dee..e6fbbaf4 100644 --- a/.emacs.d/lisp/init-eshell.el +++ b/.emacs.d/lisp/init-eshell.el @@ -73,8 +73,7 @@ ;;; REVIEW: eshell/date does not support many options from GNU date. ;;; > date +%Z ;;; See #29157. -(when (< emacs-major-version 27) - (require 'patch-eshell-26)) +(require 'patch-eshell) ;;; TODO: Change face of eshell/* commands in commandline to avoid confusion ;;; with system programs. diff --git a/.emacs.d/lisp/patch-eshell-26.el b/.emacs.d/lisp/patch-eshell.el similarity index 97% rename from .emacs.d/lisp/patch-eshell-26.el rename to .emacs.d/lisp/patch-eshell.el index baf8ce45..da85492f 100644 --- a/.emacs.d/lisp/patch-eshell-26.el +++ b/.emacs.d/lisp/patch-eshell.el @@ -21,4 +21,4 @@ input." (setq eshell-history-index nil)) (advice-add 'eshell-add-input-to-history :override 'ambrevar/eshell-add-input-to-history) -(provide 'patch-eshell-26) +(provide 'patch-eshell)