mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-30 05:29:52 +08:00
19 lines
595 B
EmacsLisp
19 lines
595 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))
|