GNU bug report logs -
#6859
[rob.dickens@lafros.com: corrected .emacs snippet for merging your own Info files]
Previous Next
Reported by: karl <at> freefriends.org (Karl Berry)
Date: Sat, 14 Aug 2010 22:23:02 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> * currently:
>
> (require 'info)
> (setq Info-directory-list
> (cons (expand-file-name "/home/bob/info")
> Info-directory-list))
That has been incorrect since at least Emacs 21.4 (I didn't look at
older versions).
> * should be:
>
> (add-hook 'Info-mode-hook
> '(lambda ()
> (add-to-list 'Info-directory-list
> (expand-file-name "~/info"))))
That will work, but the advice in doc/misc/info.texi in Emacs seems
better:
If you wish to customize the Info directory search list for both
Emacs Info and stand-alone Info, it is best to set the
@env{INFOPATH} environment variable, since that applies to both
programs.
Then you don't have to worry about Emacs-specific stuff in the texinfo
documentation.
This bug report was last modified 14 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.