ruby-changes:28771
From: knu <ko1@a...>
Date: Sun, 19 May 2013 10:41:57 +0900 (JST)
Subject: [ruby-changes:28771] knu:r40823 (trunk): * misc/ruby-electric.el (ruby-electric-delete-backward-char): Use
knu 2013-05-19 10:41:47 +0900 (Sun, 19 May 2013) New Revision: 40823 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40823 Log: * misc/ruby-electric.el (ruby-electric-delete-backward-char): Use delete-char instead of delete-backward-char, which is an interactive function. Modified files: trunk/ChangeLog trunk/misc/ruby-electric.el Index: ChangeLog =================================================================== --- ChangeLog (revision 40822) +++ ChangeLog (revision 40823) @@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun May 19 10:38:50 2013 Akinori MUSHA <knu@i...> + + * misc/ruby-electric.el (ruby-electric-delete-backward-char): Use + delete-char instead of delete-backward-char, which is an + interactive function. + Sun May 19 03:59:29 2013 NARUSE, Yui <naruse@r...> * string.c (str_scrub0): added for refactoring. Index: misc/ruby-electric.el =================================================================== --- misc/ruby-electric.el (revision 40822) +++ misc/ruby-electric.el (revision 40823) @@ -341,6 +341,6 @@ strings. Note that you must have Font Lo https://github.com/ruby/ruby/blob/trunk/misc/ruby-electric.el#L341 ((eq last-command 'ruby-electric-hash) (and (char-equal (preceding-char) ?{) (delete-char 1)))) - (delete-backward-char 1))) + (delete-char -1))) (provide 'ruby-electric) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/