diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8b31efc50b7..96f3ab25172 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-10-27 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes | ||
| 4 | after `=' is probably a new expression. | ||
| 5 | |||
| 1 | 2013-10-27 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> | 6 | 2013-10-27 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de> |
| 2 | 7 | ||
| 3 | * man.el (man-imenu-title): New option. | 8 | * man.el (man-imenu-title): New option. |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index b85385a7428..441f166396e 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -334,7 +334,7 @@ explicitly declared in magic comment." | |||
| 334 | 334 | ||
| 335 | (defun ruby-smie--bosp () | 335 | (defun ruby-smie--bosp () |
| 336 | (save-excursion (skip-chars-backward " \t") | 336 | (save-excursion (skip-chars-backward " \t") |
| 337 | (or (bolp) (eq (char-before) ?\;)))) | 337 | (or (bolp) (memq (char-before) '(?\; ?=))))) |
| 338 | 338 | ||
| 339 | (defun ruby-smie--implicit-semi-p () | 339 | (defun ruby-smie--implicit-semi-p () |
| 340 | (save-excursion | 340 | (save-excursion |