[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master eeb09ff: Fix infloop in help-make-xrefs in certain keymaps
From: |
Lars Ingebrigtsen |
Subject: |
master eeb09ff: Fix infloop in help-make-xrefs in certain keymaps |
Date: |
Sun, 31 Oct 2021 23:03:43 -0400 (EDT) |
branch: master
commit eeb09ff41ba2f6b9a199ddd9de58191583eecd98
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix infloop in help-make-xrefs in certain keymaps
* lisp/help-mode.el (help-make-xrefs): Adjust xref symbol finding
after changes to how keymaps are output.
---
lisp/help-mode.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/help-mode.el b/lisp/help-mode.el
index 0f80c26..6745345 100644
--- a/lisp/help-mode.el
+++ b/lisp/help-mode.el
@@ -661,8 +661,9 @@ that."
(help-xref-button 3 'help-function symbol))
(forward-line)
;; Skip empty line.
- (while (or (eolp)
- (looking-at-p " *(this binding"))
+ (while (and (not (eobp))
+ (or (eolp)
+ (looking-at-p " *(this binding")))
(forward-line)))))))
(set-syntax-table stab))
;; Delete extraneous newlines at the end of the docstring
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master eeb09ff: Fix infloop in help-make-xrefs in certain keymaps,
Lars Ingebrigtsen <=