From 2b60ba70b09428765b2e42304bae17d68d581c94 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Wed, 31 Jan 2024 16:13:59 +0000 Subject: [PATCH] Drop support for Emacs < 27.1 --- .github/workflows/test.yml | 3 --- README.md | 11 ++++------- init.el | 4 ++-- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7bc215d8ab..1a76441ae0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,6 @@ jobs: strategy: matrix: emacs_version: - - 26.1 - - 26.2 - - 26.3 - 27.1 - 27.2 - 28.1 diff --git a/README.md b/README.md index cd596b0deb..22a03a559b 100644 --- a/README.md +++ b/README.md @@ -39,13 +39,10 @@ LSP support is provided using `eglot`. Use the latest released Emacs version available to you. The author typically uses the latest stable version. -The config should run on Emacs 26.1 or greater and is designed to -degrade smoothly - see the CI build - but even basic enhancements -like completion may be unavailable if your Emacs is too old. - -Some Windows users might need to follow -[these instructions](http://xn--9dbdkw.se/diary/how_to_enable_GnuTLS_for_Emacs_24_on_Windows/index.en.html) -to get TLS (ie. SSL) support included in their Emacs. +The config should run on Emacs 27.1 or greater and is designed to +degrade smoothly - see the CI build - but many enhancements may be +unavailable if your Emacs is too old, and in general you should try +to use the latest stable Emacs release like I do. ## Other requirements diff --git a/init.el b/init.el index 7b69014bc6..abb8ec2f20 100644 --- a/init.el +++ b/init.el @@ -9,10 +9,10 @@ ;; Produce backtraces when errors occur: can be helpful to diagnose startup issues ;;(setq debug-on-error t) -(let ((minver "26.1")) +(let ((minver "27.1")) (when (version< emacs-version minver) (error "Your Emacs is too old -- this config requires v%s or higher" minver))) -(when (version< emacs-version "27.1") +(when (version< emacs-version "28.1") (message "Your Emacs is old, and some functionality in this config will be disabled. Please upgrade if possible.")) (add-to-list 'load-path (expand-file-name "lisp" user-emacs-directory))