From 6f251b6e99898e39863b9d2e6bb1e17ea5b5cc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Etienne=20Prud=E2=80=99homme?= Date: Mon, 19 Sep 2022 18:36:13 -0400 Subject: [PATCH] Fix compatibility with Emacs 29.1 In Emacs > 29.0.50, `eieio-compat` must be required in order to use the deprecated `defmethod`. --- helm-recoll.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/helm-recoll.el b/helm-recoll.el index c6b5683..cdd28ea 100644 --- a/helm-recoll.el +++ b/helm-recoll.el @@ -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)