Skip to content

Commit

Permalink
evil-commands.el: require seq, tab-bar and subr-x libs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Hi-Angel committed Feb 20, 2024
1 parent 558f50e commit fbc5f99
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions evil-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit fbc5f99

Please sign in to comment.