add .gitignore
ignore ert.el
use native buffer-narrowed-p when available