home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
texinfo-3.7-bin.lha
/
lib
/
emacs
/
site-lisp
/
info.elc
< prev
next >
Wrap
Text File
|
1996-10-12
|
41KB
|
532 lines
(defvar Info-history nil "\
List of info nodes user has visited.
Each element of list is a list (FILENAME NODENAME BUFFERPOS).")
(defvar Info-enable-edit nil "\
*Non-nil means the \\<Info-mode-map>\\[Info-edit] command in Info can edit the current node.
This is convenient if you want to write info files by hand.
However, we recommend that you not do this.
It is better to write a Texinfo file and generate the Info file from that,
because that gives you a printed manual as well.")
(defvar Info-enable-active-nodes t "\
Non-nil allows Info to execute Lisp code associated with nodes.
The Lisp code is executed when the node is selected.")
(defvar Info-fontify t "\
*Non-nil enables highlighting and fonts in Info nodes.")
(defvar Info-fontify-maximum-menu-size 30000 "\
*Maximum size of menu to fontify if `Info-fontify' is non-nil.")
(defvar Info-directory-list (let ((path (getenv "INFOPATH")) (path-separator (if (boundp (quote path-separator)) path-separator (if (eq system-type (quote ms-dos)) ";" ":"))) (source (expand-file-name "info/" source-directory)) (sibling (if installation-directory (expand-file-name "info/" installation-directory))) alternative) (if path (let ((list nil) idx) (while (> (length path) 0) (setq idx (or (string-match path-separator path) (length path)) list (cons (substring path 0 idx) list) path (substring path (min (1+ idx) (length path))))) (nreverse list)) (if (and sibling (file-exists-p sibling)) (setq alternative sibling) (setq alternative source)) (if (or (member alternative Info-default-directory-list) (not (file-exists-p alternative)) (if (or (eq system-type (quote ms-dos)) (eq system-type (quote windows-nt))) nil (not (string= exec-directory (expand-file-name "lib-src/" installation-directory))))) Info-default-directory-list (reverse (cons alternative (cdr (reverse Info-default-directory-list))))))) "\
List of directories to search for Info documentation files.
nil means not yet initialized. In this case, Info uses the environment
variable INFOPATH to initialize it, or `Info-default-directory-list'
if there is no INFOPATH variable in the environment.
The last element of `Info-default-directory-list' is the directory
where Emacs installs the Info files that come with it.
If you run the Emacs executable from the `src' directory in the Emacs
source tree, the `info' directory in the source tree is used as the last
element, in place of the installation Info directory. This is useful
when you run a version of Emacs without installing it.")
(defvar Info-additional-directory-list nil "\
List of additional directories to search for Info documentation files.
These directories are not searched for merging the `dir' file.")
(defvar Info-current-file nil "\
Info file that Info is now looking at, or nil.
This is the name that was specified in Info, not the actual file name.
It doesn't contain directory names or file name extensions added by Info.")
(defvar Info-current-subfile nil "\
Info subfile that is actually in the *info* buffer now,
or nil if current info file is not split into subfiles.")
(defvar Info-current-node nil "\
Name of node that Info is now looking at, or nil.")
(defvar Info-tag-table-marker (make-marker) "\
Marker pointing at beginning of current Info file's tag table.
Marker points nowhere if file has no tag table.")
(defvar Info-current-file-completions nil "\
Cached completion list for current Info file.")
(defvar Info-index-alternatives nil "\
List of possible matches for last Info-index command.")
(defvar Info-standalone nil "\
Non-nil if Emacs was started solely as an Info browser.")
(defvar Info-suffix-list (if (eq system-type (quote ms-dos)) (quote ((".gz" . "gunzip") (".z" . "gunzip") (".inf") (""))) (quote ((".info.Z" . "uncompress") (".info.Y" . "unyabba") (".info.gz" . "gunzip") (".info.z" . "gunzip") (".info") (".Z" . "uncompress") (".Y" . "unyabba") (".gz" . "gunzip") (".z" . "gunzip") ("")))) "\
List of file name suffixes and associated decoding commands.
Each entry should be (SUFFIX . STRING); the file is given to
the command as standard input. If STRING is nil, no decoding is done.
Because the SUFFIXes are tried in order, the empty string should
be last in the list.")
(defun info-insert-file-contents-1 (filename suffix) (byte-code "Æ=?
PL Ç !ÈÉ GGÊ#]ËÈX + GSHÌ=?4
ÊËOÈÍ
GZ]^ È GZZO
P+" [system-type filename suffix sans-exts ext-len ext-left ms-dos file-name-sans-extension 0 - 1 nil 46 3] 7))
(defun info-insert-file-contents (filename &optional visit) "\
Insert the contents of an info file in the current buffer.
Do the right thing if the file has been compressed or zipped." (byte-code " ÅÅÊ!1 ËÌ@@!ÍP\"? &