projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716441a
)
Make dynamic info-lookup more backwards-compatible
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 27 Aug 2022 13:44:12 +0000
(15:44 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 27 Aug 2022 13:44:12 +0000
(15:44 +0200)
* lisp/info-look.el (info-lookup--expand-info): Don't try to
expand elements that aren't functions (bug#57446).
lisp/info-look.el
patch
|
blob
|
history
diff --git
a/lisp/info-look.el
b/lisp/info-look.el
index 7f45f976a24e622983d0eaa6e84a704499bf2e68..ce0a08dcbe6edbf9f8081c5e111936c23a538109 100644
(file)
--- a/
lisp/info-look.el
+++ b/
lisp/info-look.el
@@
-130,7
+130,8
@@
OTHER-MODES is a list of cross references to other help modes.")
(defun info-lookup--expand-info (info)
;; We have a dynamic doc-spec function.
(when (and (null (nth 3 info))
- (nth 6 info))
+ (nth 6 info)
+ (functionp (nth 6 info)))
(setf (nth 3 info) (funcall (nth 6 info))
(nth 6 info) nil))
info)