Skip to content

Commit e47c44f

Browse files
committed
Merge pull request #2 from emacs-jp/improve-package
Improve package
2 parents 58b3c85 + 02e8fea commit e47c44f

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

Cask

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
(source gnu)
2+
(source melpa)
3+
4+
(package-file "helm-orgcard.el")

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# helm-orgcard.el
2+
3+
Browse the orgcard by helm.
4+
5+
## Screenshot
6+
7+
![helm-orgcard](image/helm-orgcard.png)

helm-orgcard.el

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
;;; helm-orgcard.el --- browse the orgcard by helm
1+
;;; helm-orgcard.el --- browse the orgcard by helm -*- lexical-binding: t -*-
22

33
;; Description: browse the orgcard by helm.
44
;; Author: Yuhei Maeda <yuhei.maeda_at_gmail.com>
@@ -8,7 +8,7 @@
88
;; Version: 0.1
99
;; Keywords: convenience, helm, org
1010
;; URL: https://github.com/emacs-jp/helm-orgcard
11-
;; Package-Requires: ((helm "1.5.2"))
11+
;; Package-Requires: ((helm-core "1.7.7"))
1212

1313
;; This program is free software; you can redistribute it and/or modify
1414
;; it under the terms of the GNU General Public License as published by
@@ -27,7 +27,7 @@
2727

2828
;; Put the helm-orgcard.el to your
2929
;; load-path.
30-
;; Add to .emacs:
30+
;; Add to init.el:
3131
;; (require 'helm-orgcard)
3232
;;
3333
;; Original version is anything-orgcard, and port to helm.
@@ -39,8 +39,16 @@
3939

4040
(require 'helm)
4141

42-
(defvar hoc-lang-selector 'en
43-
"Select orgcard langage. English or Japanese.")
42+
(defgroup helm-orgcard nil
43+
"Browse the orgcard by helm"
44+
:group 'org)
45+
46+
(defcustom hoc-lang-selector 'en
47+
"Select orgcard language. English or Japanese."
48+
:type '(choice
49+
(const :tag "English" en)
50+
(const :tag "Japanese" ja))
51+
:group 'helm-orgcard)
4452

4553
(defvar hoc-orgcard-url '((en "http://orgmode.org/orgcard.txt")
4654
(ja "http://orgmode.jp/orgcard-ja.txt"))

image/helm-orgcard.png

57.1 KB
Loading

0 commit comments

Comments
 (0)