tamzinblake / js3-mode

A chimeric fork of js2-mode and js-mode
GNU General Public License v3.0
181 stars 13 forks source link

Make js3-mode work with indirect buffers #112

Open vdonich opened 8 years ago

vdonich commented 8 years ago

Indirect buffer most of the time is not in range 1 to (buffer-size) so (point-min) to (point-max) is a correct way to do this.

This fixes exception when using narrow-indirect.el js3-mode inside script tag in a .html

tamzinblake commented 8 years ago

This project does not have a maintainer. See #100

vdonich commented 8 years ago

Just trying to fix a bug I've stumbled upon. Not sure what's the best to do here.