Mercurial > emacs
changeset 25041:d45a32b777f6
(info-lookup-setup-mode): Don't give up, if
info-lookup-make-completions returns an error.
(info-lookup-maybe-add-help :mode 'latex-mode): Use Info file
name latex, not latex2e.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 22 Jul 1999 00:45:00 +0000 |
parents | a3b19ebb46f9 |
children | bf96605e00ee |
files | lisp/info-look.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/info-look.el Thu Jul 22 00:41:21 1999 +0000 +++ b/lisp/info-look.el Thu Jul 22 00:45:00 1999 +0000 @@ -400,7 +400,9 @@ (setq refer-modes (nreverse refer-modes)) ;; Build the full completion alist. (setq completions - (nconc (info-lookup-make-completions topic mode) + (nconc (condition-case nil + (info-lookup-make-completions topic mode) + (error nil)) (apply 'append (mapcar (lambda (arg) (info-lookup->completions topic arg)) @@ -712,7 +714,7 @@ (info-lookup-maybe-add-help :mode 'latex-mode :regexp "\\\\\\([a-zA-Z]+\\|[^a-zA-Z]\\)" - :doc-spec '(("(latex2e)Command Index" nil + :doc-spec '(("(latex)Command Index" nil "`" "\\({[^}]*}\\)?'"))) (info-lookup-maybe-add-help