aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/info-look.el7
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7f7757e750e..b0cad6454c3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12013-04-22 Leo Liu <sdl.web@gmail.com>
2
3 * info-look.el: Prefer latex2e.info. (Bug#14240)
4
12013-04-22 Michael Albinus <michael.albinus@gmx.de> 52013-04-22 Michael Albinus <michael.albinus@gmx.de>
2 6
3 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>. 7 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
diff --git a/lisp/info-look.el b/lisp/info-look.el
index afe4301c659..e43cd731547 100644
--- a/lisp/info-look.el
+++ b/lisp/info-look.el
@@ -881,8 +881,11 @@ Return nil if there is nothing appropriate in the buffer near point."
881(info-lookup-maybe-add-help 881(info-lookup-maybe-add-help
882 :mode 'latex-mode 882 :mode 'latex-mode
883 :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)" 883 :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
884 :doc-spec '(("(latex)Command Index" nil 884 :doc-spec `((,(if (Info-find-file "latex2e" t)
885 "`" "\\({[^}]*}\\)?'"))) 885 ;; From http://home.gna.org/latexrefman
886 "(latex2e)Command Index"
887 "(latex)Command Index")
888 nil "`" "\\({[^}]*}\\)?'")))
886 889
887(info-lookup-maybe-add-help 890(info-lookup-maybe-add-help
888 :mode 'emacs-lisp-mode 891 :mode 'emacs-lisp-mode