Project

General

Profile

« Previous | Next » 

Revision 73e01440

Added by Akinori MUSHA about 12 years ago

Import ruby-electric.el 2.0.1, a bug fix release.

  • misc/ruby-electric.el: Import ruby-electric.el 2.0.1 which fixes
    a bug and a flaw with auto-end introduced in the revamp.

    • ruby-forward-sexp is inappropriate here because it moves the
      cursor past the keyword.

    • Fix a reversed looking-back check in
      ruby-electric--block-beg-keyword-at-point-p.

    • Do not add end again if space or return is hit repeatedly
      after a block beginning keyword.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e