mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-28 16:51:08 -05:00
💥 Drop Emacs 25.x support
Emacs 26.1 is Doom's new minimum supported version Closes #2026
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user