emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112354: * info-look.el: Prefer latex


From: Leo Liu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112354: * info-look.el: Prefer latex2e.info.
Date: Mon, 22 Apr 2013 22:41:32 +0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 112354
fixes bug: http://debbugs.gnu.org/14240
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Mon 2013-04-22 22:41:32 +0800
message:
  * info-look.el: Prefer latex2e.info.
modified:
  lisp/ChangeLog
  lisp/info-look.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-04-22 10:26:09 +0000
+++ b/lisp/ChangeLog    2013-04-22 14:41:32 +0000
@@ -1,3 +1,7 @@
+2013-04-22  Leo Liu  <address@hidden>
+
+       * info-look.el: Prefer latex2e.info.  (Bug#14240)
+
 2013-04-22  Michael Albinus  <address@hidden>
 
        Fix pack/unpack coding.  Reported by David Smith <address@hidden>.

=== modified file 'lisp/info-look.el'
--- a/lisp/info-look.el 2013-02-19 03:29:28 +0000
+++ b/lisp/info-look.el 2013-04-22 14:41:32 +0000
@@ -881,8 +881,11 @@
 (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]