diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-12-17 03:31:55 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-12-17 03:31:55 +0200 |
commit | 5556c0cef106deb5a4614aabf96d223ada151f51 (patch) | |
tree | 9fed64046ebb8d1a664b351c39dba9bdef59292c /test/indent | |
parent | 1c4b1e6107d17a184416b9bffd97222c06e5ff83 (diff) | |
download | emacs-5556c0cef106deb5a4614aabf96d223ada151f51.tar.gz |
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'.
Diffstat (limited to 'test/indent')
-rw-r--r-- | test/indent/ruby.rb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 7b85899577c..19bc0d03d47 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -48,8 +48,7 @@ foo = { a: b, foo({ # bug#16118 a: b, c: d - } - ) # bug#16116 + }) bar = foo( a, [ @@ -57,8 +56,7 @@ bar = foo( ], :qux => [ 3 - ] - ) + ]) foo( [ @@ -78,8 +76,7 @@ foo([{ b: 3 }, 4 - ] - ) + ]) foo = [ # ruby-deep-indent-disabled 1 |