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 9fbdb36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm-recoll.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@
(require 'helm)
(require 'helm-for-files)

(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 9fbdb36

Please sign in to comment.