mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Make dynamic info-lookup more backwards-compatible
* lisp/info-look.el (info-lookup--expand-info): Don't try to expand elements that aren't functions (bug#57446).
This commit is contained in:
parent
716441a069
commit
f427b985a1
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue