💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version Closes #2026
This commit is contained in:
parent
9cb535043c
commit
99cd52e70f
33 changed files with 48 additions and 426 deletions
|
@ -63,7 +63,6 @@ errors.")
|
|||
|
||||
|
||||
(use-package! flycheck-posframe
|
||||
:when EMACS26+
|
||||
:when (featurep! +childframe)
|
||||
:defer t
|
||||
:init (add-hook 'flycheck-mode-hook #'+flycheck-init-popups-h)
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
(package! flycheck)
|
||||
(package! flycheck-popup-tip)
|
||||
(when (and EMACS26+ (featurep! +childframe))
|
||||
(when (featurep! +childframe)
|
||||
(package! flycheck-posframe))
|
||||
|
|
|
@ -106,8 +106,7 @@ Also logs the resolved project root, if found."
|
|||
(defun +lsp-init-ui-flycheck-or-flymake-h ()
|
||||
"Sets up flymake-mode or flycheck-mode, depending on `lsp-prefer-flymake'."
|
||||
(cond ((eq :none lsp-prefer-flymake))
|
||||
((and (not (version< emacs-version "26.1"))
|
||||
lsp-prefer-flymake)
|
||||
(lsp-prefer-flymake
|
||||
(lsp--flymake-setup))
|
||||
((require 'flycheck nil t)
|
||||
(require 'lsp-ui-flycheck)
|
||||
|
|
|
@ -36,5 +36,5 @@
|
|||
|
||||
|
||||
;; Is built into Emacs 26+
|
||||
(when (and EMACS26+ (featurep! +auth))
|
||||
(when (featurep! +auth)
|
||||
(auth-source-pass-enable))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue