[ruby-cvs:50324] knu:r43183 (trunk): Make ruby-electric play nicely with smartparens-mode.

knu at ruby-lang.org knu at ruby-lang.org
Mon Oct 7 23:47:33 JST 2013


knu	2013-10-07 23:47:32 +0900 (Mon, 07 Oct 2013)

  New Revision: 43183

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43183

  Log:
    Make ruby-electric play nicely with smartparens-mode.
    
    * misc/ruby-electric.el (ruby-electric-space-can-be-expanded-p):
      Return nil to avoid "end" insertion when in smartparens-mode
      that is configured to insert "end" for the same keyword.
    
    * misc/ruby-electric.el (ruby-electric-keywords): New custom
      variable to replace `ruby-electric-simple-keywords-re` with.

  Modified files:
    trunk/ChangeLog
    trunk/misc/ruby-electric.el


More information about the ruby-cvs mailing list