From 9fbdb36cd9f2664f7316858af8d434eedeab55e1 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helm-recoll.el b/helm-recoll.el index c6b5683..be7f865 100644 --- a/helm-recoll.el +++ b/helm-recoll.el @@ -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)