branch: master
commit 5beb8ea1b79e9c7898bf16105d04c17ed0ac5281
Author: Dmitry Gutov <dgu...@yandex.ru>
Commit: Dmitry Gutov <dgu...@yandex.ru>

    Define js2-re-search-forward as an alias as well
    
    Fixes #253
---
 js2-mode.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/js2-mode.el b/js2-mode.el
index 78768da..1543677 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -94,7 +94,8 @@
       (require 'js2-old-indent)
     (defvaralias 'js2-basic-offset 'js-indent-level nil)
     (defalias 'js2-proper-indentation 'js--proper-indentation)
-    (defalias 'js2-indent-line 'js-indent-line)))
+    (defalias 'js2-indent-line 'js-indent-line)
+    (defalias 'js2-re-search-forward 'js--re-search-forward)))
 
 ;;; Externs (variables presumed to be defined by the host system)
 

Reply via email to