The `i' (bbdb-info) does not use the Info-(default)-directory-list.
Instead it uses the obsolete Info-directory variable. This is
expanded with bbdb-info-file. But I don't want to "manually" make an
Info-directory entry for my bbdb file. Nor do I want to indicate the
bbdb file name as it might be compressed and end in .gz.
BTW. There is no problem finding the (compressed) info file when I
enter the info system.
Versions: FSF emacs-19.28 and bbdb 1.50
Regards, Harald Backer
SINTEF Automatic Control : Phone +47 7359 4375
The Norwegian Institute of Technology : Fax +47 7359 4399
N-7034 Trondheim : [EMAIL PROTECTED]
NORWAY
Info-directory
Function: Go to the Info directory node.
>From bbdb-com.el:
(defvar bbdb-info-file nil
"*Set this to the location of the bbdb info file, if it's not in the
standard place.")
(defvar Info-directory) ; v18
(defun bbdb-info ()
(interactive)
(require 'info)
(if bbdb-inside-electric-display
(bbdb-electric-throw-to-execute '(bbdb-info))
(let ((file bbdb-info-file)
(Info-directory (and (boundp 'Info-directory) Info-directory)))
(if file
(setq file (expand-file-name file Info-directory))
(setq file (expand-file-name "bbdb" Info-directory))
(or (file-exists-p file)
(setq file (concat file ".info"))))
(or (file-exists-p file) (error "Info file %s doesn't exist" file))
(let ((Info-directory (file-name-directory file)))
(Info-goto-node (format "(%s)Top" file))))))