]> git.eshelyaron.com Git - emacs.git/commitdiff
Make Info-find-file ensure that Info is initialised
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 2 Aug 2019 19:25:29 +0000 (21:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 2 Aug 2019 19:25:29 +0000 (21:25 +0200)
* lisp/info.el (Info-find-file): Ensure that Info is initialised,
because libraries call that function (bug#19880).

lisp/info.el

index cc18ea11f33842d30b6b9899b2ed77ee8266ad01..16909736f8d4522637c65cebf4be5b746c37d1f8 100644 (file)
@@ -882,6 +882,7 @@ just return nil (no error).
 
 If NO-POP-TO-DIR, don't try to pop to the info buffer if we can't
 find a node."
+  (info-initialize)
   ;; Convert filename to lower case if not found as specified.
   ;; Expand it.
   (cond