From fbc5f998e192a795a3e19b301e9a13172720aaee Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Tue, 20 Feb 2024 22:19:49 +0300 Subject: [PATCH] evil-commands.el: require seq, tab-bar and subr-x libs Fixes warnings like: evil-commands.el:5205:1:Error: the following functions are not known to be defined: string-trim-right, tab-bar-close-tab, tab-close, tab-bar-select-tab, tab-bar-switch-to-next-tab --- evil-commands.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/evil-commands.el b/evil-commands.el index 62a65972..10797a58 100644 --- a/evil-commands.el +++ b/evil-commands.el @@ -36,6 +36,12 @@ (require 'evil-vars) (require 'cl-lib) (require 'reveal) +(require 'seq) +(require 'tab-bar) + +;; older Emacses had some core functions declared in subr-x. +(when (< emacs-major-version 29) + (require 'subr-x)) (declare-function imenu--in-alist "imenu")