Skip to content

Commit

Permalink
Fix compatibility with Emacs 29.1
Browse files Browse the repository at this point in the history
In Emacs > 29.0.50, `eieio-compat` must be required in order to use
the deprecated `defmethod`.
  • Loading branch information
notetiene committed Sep 19, 2022
1 parent c021a3b commit 6f251b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm-recoll.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@
(require 'helm)
(require 'helm-for-files)

(eval-and-compile
(when (version<= emacs-version "29.0.50")
(require 'eieio-compat)))

(defvar helm-find-files-actions)
(defvar helm-find-files-map)
(defvar helm-ff-help-message)
Expand Down

0 comments on commit 6f251b6

Please sign in to comment.