diff options
Diffstat (limited to 'helm-types.el')
-rw-r--r-- | helm-types.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helm-types.el b/helm-types.el index 87be61d9..e2a02d44 100644 --- a/helm-types.el +++ b/helm-types.el @@ -36,7 +36,9 @@ (defclass helm-type-file (helm-source) () "A class to define helm type file.") -(eieio-declare-slots action) +;; Emacs-27+ only. FIXME Should be fixed in helm-source instead. +(when (fboundp 'eieio-declare-slots) + (eieio-declare-slots action)) (defmethod helm-source-get-action-from-type ((object helm-type-file)) (slot-value object 'action)) |