Subject: 24.3; Fix info-look for latex-mode
From: Leo Liu <[email-masked]>
To: [email-masked]
Date: Mon, 22 Apr 2013 12:09:52 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Karl,

I intend to fix info-look for LaTeX-mode as in the attached patch. Do
you have any idea where latex.info is from? I searched the web and found
http://shadow.ind.ntou.edu.tw/ctan/info/latex-info/latex.texinfo but I
am not sure its relation to the one in
http://svn.gna.org/viewcvs/latexrefman/trunk.

Thank you for your time.

Leo

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8cd322ab..f68b235d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-22  Leo Liu  <[email-masked]>
+
+	* info-look.el: Fix LaTeX info file name.
+
 2013-03-11  Glenn Morris  <[email-masked]>
 
 	* Version 24.3 released.
diff --git a/lisp/info-look.el b/lisp/info-look.el
index f1390011..6d0af10e 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -866,7 +866,7 @@ (info-lookup-maybe-add-help
 (info-lookup-maybe-add-help
  :mode 'latex-mode
  :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
- :doc-spec '(("(latex)Command Index" nil
+ :doc-spec '(("(latex2e)Command Index" nil
 	      "`" "\\({[^}]*}\\)?'")))
 
 (info-lookup-maybe-add-help