diff options
| author | Stefan Monnier | 2013-10-23 13:18:11 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-10-23 13:18:11 -0400 |
| commit | bc4aaa31e2538c6992f9408f0190460eef79b655 (patch) | |
| tree | 22a3ff43d12301569f11a591ac29f63c7bd2b53f /lisp/progmodes/ruby-mode.el | |
| parent | f493ff19e981bad0ab8146c41fa65945de977088 (diff) | |
| download | emacs-bc4aaa31e2538c6992f9408f0190460eef79b655.tar.gz emacs-bc4aaa31e2538c6992f9408f0190460eef79b655.zip | |
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
:before ";".
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index a9c4cf95700..7b9dcd44b24 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -453,7 +453,7 @@ explicitly declared in magic comment." | |||
| 453 | (smie-rule-parent ruby-indent-level)) | 453 | (smie-rule-parent ruby-indent-level)) |
| 454 | ;; For (invalid) code between switch and case. | 454 | ;; For (invalid) code between switch and case. |
| 455 | ;; (if (smie-parent-p "switch") 4) | 455 | ;; (if (smie-parent-p "switch") 4) |
| 456 | (t 0))) | 456 | )) |
| 457 | (`(:before . ,(or `"(" `"[" `"{")) | 457 | (`(:before . ,(or `"(" `"[" `"{")) |
| 458 | (cond | 458 | (cond |
| 459 | ((and (equal token "{") | 459 | ((and (equal token "{") |