]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Oct 2013 17:18:11 +0000 (13:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 23 Oct 2013 17:18:11 +0000 (13:18 -0400)
:before ";".

lisp/ChangeLog
lisp/progmodes/ruby-mode.el

index dd8619768cb72382cdb2ae0e24eb8eded918fa78..63156bb18a1c451e5664998bed179c5b9c6750d9 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
+       :before ";".
+
 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
 
        * progmodes/compile.el (compilation-directory-matcher)
@@ -20,8 +25,8 @@
 
 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * progmodes/ruby-mode.el (ruby-smie--at-dot-call): Use
-       `following-char'.
+       * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
+       Use `following-char'.
 
 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
index a9c4cf9570090f91287c6bb1853e07ce30b18db4..7b9dcd44b2432e6a3896ebc88638872277e2be3c 100644 (file)
@@ -453,7 +453,7 @@ explicitly declared in magic comment."
        (smie-rule-parent ruby-indent-level))
       ;; For (invalid) code between switch and case.
       ;; (if (smie-parent-p "switch") 4)
-      (t 0)))
+      ))
     (`(:before . ,(or `"(" `"[" `"{"))
      (cond
       ((and (equal token "{")