jmickelin / vim-empty-lines-mode

Vim-like empty line indicator at end of files for Emacs.
GNU General Public License v3.0
10 stars 3 forks source link

Call `vim-empty-lines-create-overlay' only once #7

Open hchbaw opened 9 years ago

hchbaw commented 9 years ago

When calling multiple major-mode commands, for example calling fundamental-mode then lisp-interaction-mode like at Emacs startup in the "scratch" buffer, more than one overlays are created in the same buffer. This may occur in particular when using global-vim-empty-lines-mode.