1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

* info-look.el: Prefer latex2e.info.

Fixes: debbugs:14240
This commit is contained in:
Leo Liu 2013-04-22 22:41:32 +08:00
parent d08536296c
commit 72d548a9d7
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2013-04-22 Leo Liu <sdl.web@gmail.com>
* info-look.el: Prefer latex2e.info. (Bug#14240)
2013-04-22 Michael Albinus <michael.albinus@gmx.de>
Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.

View File

@ -881,8 +881,11 @@ Return nil if there is nothing appropriate in the buffer near point."
(info-lookup-maybe-add-help
:mode 'latex-mode
:regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)"
:doc-spec '(("(latex)Command Index" nil
"`" "\\({[^}]*}\\)?'")))
:doc-spec `((,(if (Info-find-file "latex2e" t)
;; From http://home.gna.org/latexrefman
"(latex2e)Command Index"
"(latex)Command Index")
nil "`" "\\({[^}]*}\\)?'")))
(info-lookup-maybe-add-help
:mode 'emacs-lisp-mode