mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-23 19:19:50 +00:00
Minor fix for compatibility.
This commit is contained in:
parent
2ef9b88d4d
commit
be0461a68c
1 changed files with 6 additions and 0 deletions
|
@ -63,12 +63,18 @@
|
||||||
(require 'shrink-path)
|
(require 'shrink-path)
|
||||||
|
|
||||||
|
|
||||||
|
;;
|
||||||
|
;; Compatibility
|
||||||
|
;;
|
||||||
|
|
||||||
(unless (>= emacs-major-version 26)
|
(unless (>= emacs-major-version 26)
|
||||||
(with-no-warnings
|
(with-no-warnings
|
||||||
;; if-let and when-let are deprecated in Emacs 26+ in favor of their
|
;; if-let and when-let are deprecated in Emacs 26+ in favor of their
|
||||||
;; if-let* variants, so we alias them for 25 users.
|
;; if-let* variants, so we alias them for 25 users.
|
||||||
|
(defalias 'if-let* #'if-let)
|
||||||
(defalias 'when-let* #'when-let)))
|
(defalias 'when-let* #'when-let)))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Variables
|
;; Variables
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue