diff --git a/README.md b/README.md index fadaef8..2eac378 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ library to the mix. The final product offers an easy to use Emacs configuration for Emacs newcomers and lots of additional power for Emacs power users. -Prelude is compatible **ONLY with GNU Emacs 24.4+**. In general you're +Prelude is compatible **ONLY with GNU Emacs 25.1+**. In general you're advised to always run Prelude with the latest Emacs - currently -**25.2**. +**26.1**. You can support the development of Prelude via [Salt](https://bountysource.com/teams/prelude), diff --git a/core/prelude-editor.el b/core/prelude-editor.el index c53ba7e..17819da 100644 --- a/core/prelude-editor.el +++ b/core/prelude-editor.el @@ -110,10 +110,7 @@ ;; saveplace remembers your location in a file when saving files (setq save-place-file (expand-file-name "saveplace" prelude-savefile-dir)) ;; activate it for all buffers -(if (< emacs-major-version 25) - (progn (require 'saveplace) - (setq-default save-place t)) - (save-place-mode 1)) +(save-place-mode 1) ;; savehist keeps track of some history (require 'savehist) @@ -178,8 +175,7 @@ The body of the advice is in BODY." (add-hook 'mouse-leave-buffer-hook 'prelude-auto-save-command) -(when (version<= "24.4" emacs-version) - (add-hook 'focus-out-hook 'prelude-auto-save-command)) +(add-hook 'focus-out-hook 'prelude-auto-save-command) (defadvice set-buffer-major-mode (after set-major-mode activate compile) "Set buffer major mode according to `auto-mode-alist'." diff --git a/init.el b/init.el index 3b6a887..cfc5b57 100644 --- a/init.el +++ b/init.el @@ -45,8 +45,8 @@ (message "Prelude is powering up... Be patient, Master %s!" current-user) -(when (version< emacs-version "24.4") - (error "Prelude requires at least GNU Emacs 24.4, but you're running %s" emacs-version)) +(when (version< emacs-version "25.1") + (error "Prelude requires GNU Emacs 25.1 or newer, but you're running %s" emacs-version)) ;; Always load newest byte code (setq load-prefer-newer t)