[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm a7ce958001 2/2: Fix bug #2563 - Info-minibuf-history
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm a7ce958001 2/2: Fix bug #2563 - Info-minibuf-history is not declared in emacs-29 |
Date: |
Wed, 26 Oct 2022 14:59:06 -0400 (EDT) |
branch: elpa/helm
commit a7ce958001e87e1d726ab5b683e7a96071ff6553
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix bug #2563 - Info-minibuf-history is not declared in emacs-29
---
helm-info.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/helm-info.el b/helm-info.el
index 500e545fb4..538f55acc9 100644
--- a/helm-info.el
+++ b/helm-info.el
@@ -31,6 +31,11 @@
(declare-function ring-ref "ring")
(defvar Info-history)
(defvar Info-directory-list)
+;; `Info-minibuf-history' is not declared in Emacs, see emacs bug/58786.
+(when (and (> emacs-major-version 28)
+ (not (boundp 'Info-minibuf-history)))
+ (defvar Info-minibuf-history nil))
+
;;; Customize