Skip to content

Instantly share code, notes, and snippets.

@cwittern
Last active August 29, 2015 14:22
Show Gist options
  • Save cwittern/4a7152bd35dc232c4399 to your computer and use it in GitHub Desktop.
Save cwittern/4a7152bd35dc232c4399 to your computer and use it in GitHub Desktop.
;;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