Skip to content

Commit fbc5f99

Browse files
committed
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
1 parent 558f50e commit fbc5f99

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

evil-commands.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
(require 'evil-vars)
3737
(require 'cl-lib)
3838
(require 'reveal)
39+
(require 'seq)
40+
(require 'tab-bar)
41+
42+
;; older Emacses had some core functions declared in subr-x.
43+
(when (< emacs-major-version 29)
44+
(require 'subr-x))
3945

4046
(declare-function imenu--in-alist "imenu")
4147

0 commit comments

Comments
 (0)