issue #6: fix for emacs version 24

Signed-off-by: coldnew <coldnew.tw@gmail.com>