From d0527b05d87cb62b50dc9757266caf1a3a830486 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 20 Dec 2002 22:27:30 +0000 Subject: * misc/ruby-mode.el (ruby-parse-partial): keywords must not be preceded by @ or $. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- misc/ruby-mode.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'misc/ruby-mode.el') diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el index 304c481a83..b416951b84 100644 --- a/misc/ruby-mode.el +++ b/misc/ruby-mode.el @@ -315,6 +315,8 @@ The variable ruby-indent-level controls the amount of indentation. (let ((pnt (point)) w re expand) (goto-char (match-beginning 0)) (cond + ((and (memq (char-before) '(?@ ?$)) (looking-at "\\sw")) + (goto-char pnt)) ((or (looking-at "\"") ;skip string (looking-at "`")) (cond -- cgit v1.2.3