el-get/test/el-get-issue-1562.el
Noam Postavsky 5278b05f35 el-get-set-info-path: make safe if package removed
Use an eval-after-load form that won't throw an error, regardless of
removed packages.
2014-03-04 23:42:44 -05:00

23 lines
705 B
EmacsLisp

;;; https://github.com/dimitri/el-get/issues/1562 Removing a package
;;; that comes with an info manual, causes an error when calling info
(el-get-register-method-alias :test :builtin)
;;; install a
(setq el-get-sources
`((:name a :type test
:build (("sh" "-c"
,(format "echo %s > a.info"
(shell-quote-argument
(concat
"\x1f\n"
"Tag Table:\n"
"\x1f\n"
"End Tag Table\n")))))
:info ".")))
(el-get 'sync "a")
(el-get-remove "a")
(info)