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:
parent
d08536296c
commit
72d548a9d7
@ -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>.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user