* misc/ruby-electric.el (ruby-electric-delete-backward-char): Use

delete-char instead of delete-backward-char, which is an
  interactive function.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2013-05-19 01:41:47 +00:00
Родитель 30f813ddf2
Коммит 0687ed1e59
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,9 @@
Sun May 19 10:38:50 2013 Akinori MUSHA <knu@iDaemons.org>
* 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@ruby-lang.org>
* string.c (str_scrub0): added for refactoring.

Просмотреть файл

@ -341,6 +341,6 @@ strings. Note that you must have Font Lock enabled."
((eq last-command 'ruby-electric-hash)
(and (char-equal (preceding-char) ?{)
(delete-char 1))))
(delete-backward-char 1)))
(delete-char -1)))
(provide 'ruby-electric)