1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Karl Heuer
ce288cb681 (info-lookup-guess-c-symbol): Use skip-syntax-backward.
(info-lookup-guess-default): Simplified and cleaned up.
(info-lookup-guess-default*): Preserve point.
1999-08-10 16:49:49 +00:00
Karl Heuer
b108eac242 (info-lookup-interactive-arguments): Add optional
argument query for new choice of help mode.
(info-lookup-symbol):  Use it.
(info-lookup-file): Ditto.
(info-lookup): Don't switch to other window, if already in Info buffer.
1999-07-25 05:47:46 +00:00
Karl Heuer
e12fcc411e (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.
1999-07-22 00:45:00 +00:00
Karl Heuer
3481a5c0f6 (info-lookup-file, info-lookup-symbol): Doc fix.
(info-lookup-interactive-arguments): Never insert the default
into the minibuffer automatically.
1999-06-12 03:52:13 +00:00
Richard M. Stallman
ba20f07702 Comment change. 1999-05-24 19:47:21 +00:00
Dave Love
6480a693a2 Remove duplicate scheme-mode entry.
(info-lookup-make-completions): When looking for entries, check
that `item' isn't null or "Menu".
1998-10-02 14:35:09 +00:00
Stephen Eglen
054e5c2010 Add support for Octave. 1998-09-29 08:45:12 +00:00
Karl Heuer
9d37318d1c Added support for Scheme.
Removed Info-lookup minor mode.
(info-lookup-file-name-alist): New variable.
(info-lookup-select-mode): New function.  Select help mode
according to info-lookup-file-name-alist or fall back to the
buffer's major mode.
(info-lookup): Use info-lookup-select-mode.
(info-lookup-interactive-arguments): Likewise.
(info-complete-symbol): Likewise.
(info-complete-file): Likewise.
(info-complete): Likewise.
1998-05-30 13:25:57 +00:00
Dave Love
40f406674a Add an entry for Scheme mode. 1998-05-27 21:32:17 +00:00
Richard M. Stallman
0c10ee28b4 (info-lookup->topic-cache): Use defun, not defsubst.
(info-lookup->mode-cache, info-lookup->initialized): Likewise.
(info-lookup->completions, info-lookup->refer-modes): Likewise.
(info-lookup->all-modes): Likewise.

(info-lookup-quick-all-modes): New function.
(info-complete): Find the symbol to complete first,
then compute list of completions.

(lisp-mode): Add info-lookup-maybe-add-help for it.
1998-04-02 04:36:00 +00:00
Karl Heuer
a1fee1bc2a Added support for the Emacs Lisp manual.
(info-complete-file): Use default value if MODE is nil.
(info-lookup-file-alist): Variable removed.
1998-02-25 22:45:29 +00:00
Richard M. Stallman
d2c2b88383 (info-complete): Rewrite minibuffer completion code.
(info-lookup-minor-mode, turn-on-info-lookup):
Added minor mode interface.
(info-lookup-minor-mode-string): New variable.
(info-lookup-minor-mode-map): New variable.

Provide a work-around if the custom library is not available.

(info-lookup-other-window-flag)
(info-lookup-highlight-face): Variables customized.

(info-lookup-alist): No longer customizable.
(info-lookup-add-help, info-lookup-maybe-add-help): Interface
functions for adding new modes.
(info-lookup-add-help*): New function.
(info-lookup-symbol-alist, info-lookup-file-alist): Variables deleted.
This info is specified now by calling info-lookup-maybe-add-help
and info-lookup-add-help.
1998-02-17 03:25:05 +00:00
Richard M. Stallman
6bc7c7a2a7 (info-complete): Display completions on second invocation at same point
or if initial guess is already ambiguous.
(info-look-completion): New variable.

(info-lookup-symbol-alist):
Added support for latex-mode, perl-mode, awk-mode, emacs-lisp-mode.
1998-02-14 22:46:12 +00:00
Richard M. Stallman
1d01033382 (info-lookup): Report if Info-goto-node fails.
(info-lookup-make-completions): Likewise.
1998-01-20 20:09:39 +00:00
Richard M. Stallman
1eff0ba1b7 (info-lookup-symbol-alist): Handle Emacs Lisp mode.
(info-lookup-make-completions): Catch errors one file at a time.
Use a special temp buffer, not the usual info buffer,
and never display it in a window.
1997-12-26 10:47:20 +00:00
Richard M. Stallman
82fb111c22 (info-complete-symbol): If MODE is nil, use the default value. 1997-06-19 02:44:46 +00:00
Richard M. Stallman
5a79736d82 Initial revision 1997-06-19 02:19:21 +00:00