Fix bug#16116
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 17 Dec 2013 01:31:55 +0000 (03:31 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Tue, 17 Dec 2013 01:31:55 +0000 (03:31 +0200)
commit5556c0cef106deb5a4614aabf96d223ada151f51
tree9fed64046ebb8d1a664b351c39dba9bdef59292c
parent1c4b1e6107d17a184416b9bffd97222c06e5ff83
Fix bug#16116

* lisp/emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
(smie-indent-close): Call `smie-indent--rule-1' with METHOD
:close-all, to see which indentation method to use.
(smie-rules-function): Document the method :close-all.

* test/indent/ruby.rb: Update examples according to the change
in `smie-indent-close'.
lisp/ChangeLog
lisp/emacs-lisp/smie.el
test/ChangeLog
test/indent/ruby.rb