]> code.delx.au - gnu-emacs-elpa/commitdiff
Define js2-re-search-forward as an alias as well
authorDmitry Gutov <dgutov@yandex.ru>
Fri, 14 Aug 2015 00:33:24 +0000 (03:33 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Fri, 14 Aug 2015 00:33:24 +0000 (03:33 +0300)
Fixes #253

js2-mode.el

index 78768dad738f10cdc5e41989c5dcbfb3240b75b2..154367704e71ec8395913d272a832334143b43e7 100644 (file)
@@ -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)