backport the defvar-local for Emacs < 24.3 compat
Merge pull request #3 from mapleoin/defvar-local-backport

backport the defvar-local for Emacs < 24.3 compat