Commit 300779e5 authored by Yuanle Song's avatar Yuanle Song
Browse files

fix git pre-commit hook.

only run check on master branch.
pkg branch is just for zero.el distribution.

minor, update doc.
parent 72196558
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
zero-el
Copyright (C) 2019 Yuanle Song <sylecn@gmail.com>

ibus-compute-pixel-position function in zero.el is copied from ibus.el.
zero--ibus-compute-pixel-position function in zero.el is copied from ibus.el.
This function is under GPLv3 license.  Copyright (C) 2010-2012 S. Irie
+5 −0
Original line number Diff line number Diff line
@@ -8,6 +8,11 @@ zero-el provides zero-pinyin, an Emacs pinyin input method for Chinese and
zero-framework, which is an emacs Chinese input method framework.

* File list
- zero.el

  It's a generated file for one-file package distribution. Not used for
  development.

- zero-framework.el

  zero framework source code. This provides the framework and user interface
+4 −2
Original line number Diff line number Diff line
#!/bin/sh
set -e
if git branch |grep '^\* master'; then
	make dist-check
	git add zero.el
fi