[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 946d4aad1df: Avoid errors in Info-search-case-sensitively in DI
From: |
Eli Zaretskii |
Subject: |
emacs-29 946d4aad1df: Avoid errors in Info-search-case-sensitively in DIR buffers |
Date: |
Sat, 30 Mar 2024 03:01:04 -0400 (EDT) |
branch: emacs-29
commit 946d4aad1dfb244352dfd0845a8bc3078fe9bca4
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Avoid errors in Info-search-case-sensitively in DIR buffers
* lisp/info.el (Info-search): Don't run the "try other subfiles"
code if there are no subfiles. This happens, for example, in DIR
files. (Bug#70058)
---
lisp/info.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/info.el b/lisp/info.el
index 1c6df9a6ee5..5817737ca92 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -2056,7 +2056,7 @@ If DIRECTION is `backward', search in the reverse
direction."
(re-search-forward regexp nil t))
(signal 'user-search-failed (list regexp))))))
- (if (and bound (not found))
+ (if (and (or bound (not Info-current-subfile)) (not found))
(signal 'user-search-failed (list regexp)))
(unless (or found bound)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 946d4aad1df: Avoid errors in Info-search-case-sensitively in DIR buffers,
Eli Zaretskii <=