From 68e16ddd7961b86e5013e62ae2954e88638de058 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 12 Nov 2015 05:17:06 +0000 Subject: parse.y: ANDDOT fluent interface * parse.y (parser_yylex): ANDDOT at the head of the line denote line continuation from previous one to support fluent interface, as well as single dot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/ruby-mode.el') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 026f541364..77371cf30f 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -898,7 +898,7 @@ Emacs to Ruby." (goto-char ruby-indent-point) (beginning-of-line) (skip-syntax-forward " ") - (if (looking-at "\\.[^.]") + (if (looking-at "\\.[^.]\\|&\\.") (+ indent ruby-indent-level) indent)))) -- cgit v1.2.3