Last active
August 29, 2015 14:22
-
-
Save cwittern/4a7152bd35dc232c4399 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;setup file for mandoku: we add melpa, install the required packages and initialize | |
(require 'cl) | |
(load "package") | |
;;we need the melpa repository for mandoku | |
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(package-initialize) | |
(defvar mandoku-starter-packages | |
(list | |
'magit | |
'json | |
'org 'org-plus-contrib | |
'mandoku 'mandoku-meta-kr 'mandoku-meta-zb | |
) | |
"Libraries that should be installed by default.") | |
(unless (every #'package-installed-p mandoku-starter-packages) | |
(package-refresh-contents) | |
(dolist (package mandoku-starter-packages) | |
(unless (package-installed-p package) | |
(message "installing %s" package) | |
(package-install package)))) | |
(setq mandoku-base-dir "/tmp/abc-new.1/") | |
(require 'mandoku) | |
;; (require 'mandoku-link) | |
(mandoku-initialize) | |
;(mandoku-search-text "地八成") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment