Permalink
Browse files

Fix el-get issue #814 about setting `Info-directory-list'

Signed-off-by: Damien Cassou <damien.cassou@gmail.com>

Conflicts:

	el-get-build.el

Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
  • Loading branch information...
1 parent db6a559 commit 551d7cd55faa0156f6349a07e4d72199e2a182e1 @DamienCassou DamienCassou committed Jul 29, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 el-get-build.el
View
@@ -156,13 +156,10 @@ recursion.
package process-list build-info-then-post-build-fun)))
(defun el-get-set-info-path (package infodir-rel)
- (let ((body
- `(el-get-add-path-to-list
- ',package 'Info-default-directory-list ,infodir-rel)))
- ;; `Info-default-directory-list' is defined in "paths.el" until 24.1
- ;; and in "info.el" in more recent Emacs versions.
- (eval-after-load "paths" body)
- (eval-after-load "info" body)))
+ (eval-after-load "info"
+ `(progn
+ (info-initialize) ;; ok because Emacs won't initialize twice
+ (el-get-add-path-to-list ',package 'Info-directory-list ,infodir-rel))))
(defun el-get-install-or-init-info (package build-or-init)
"Call `el-get-install-info' to create the necessary \"dir\"

0 comments on commit 551d7cd

Please sign in to comment.