el-get/test/el-get-issue-1006.el
Ryan C. Thompson cf34f9aa0a Clean up whitespace
This commit is the result of running cleanup-whitespace.sh.

Fixes #549.
2014-02-21 10:52:48 -08:00

19 lines
636 B
EmacsLisp

;;; https://github.com/dimitri/el-get/issues/1006
;;; autoloads haven't run in :after block
;;;
;;; NOTE: must run twice without cleaning to trigger failure: the
;;; problem only happens when package is already installed.
;;;
;;; DO_NOT_CLEAN=t ./run-test.sh 1006
;;; DO_NOT_CLEAN=t ./run-test.sh 1006 # fails on second run
(setq el-get-sources '((:name whole-line-or-region
:after (whole-line-or-region-mode))))
;;; setting el-get-is-lazy makes it work
;(setq el-get-is-lazy t)
(el-get 'sync 'whole-line-or-region)
(assert (fboundp 'whole-line-or-region-mode))