File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 7
7
8
8
(eval-when-compile (require 'cl )) ; ; for tests with mock to pass...
9
9
10
- (progn ; ; HACK install package.el including for emacs-23.3, then install external el-mock dependency
11
- (when (version< emacs-version " 24" )
12
- (with-current-buffer (url-retrieve-synchronously " http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=blob_plain;hb=ba08b24186711eaeb3748f3d1f23e2c2d9ed0d09;f=lisp/emacs-lisp/package.el" )
13
- (save-excursion
14
- (goto-char (point-min ))
15
- (kill-line 8 )
16
- (eval-buffer ))))
10
+ (progn
17
11
(require 'package )
18
12
(package-initialize )
19
13
(add-to-list 'package-archives '(" melpa" . " http://melpa.milkbox.net/packages/" ))
20
14
(package-refresh-contents )
21
- (package-install 'el-mock )))
15
+ (package-install 'el-mock ))
22
16
23
17
(require 'el-mock )
24
18
You can’t perform that action at this time.
0 commit comments