summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ruby-mode.el
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2013-12-06 16:24:10 +0200
committerDmitry Gutov <dgutov@yandex.ru>2013-12-06 16:24:10 +0200
commitfa834a93da52976387fe71c0034d0c8d9437fe6b (patch)
tree4b32c6b2a249f07132ac7f14a76af7b02f1cec39 /lisp/progmodes/ruby-mode.el
parent73d3db828e8149847b3666acbc38f94898ac15a9 (diff)
downloademacs-fa834a93da52976387fe71c0034d0c8d9437fe6b.tar.gz
emacs-fa834a93da52976387fe71c0034d0c8d9437fe6b.tar.bz2
emacs-fa834a93da52976387fe71c0034d0c8d9437fe6b.zip
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch
up the last change.
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
-rw-r--r--lisp/progmodes/ruby-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index be12b1474c3..3d30cb015d6 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -1652,8 +1652,8 @@ It will be properly highlighted even when the call omits parens.")
(0 (unless (save-excursion
(or (nth 8 (syntax-ppss (match-beginning 0)))
(let (parse-sexp-lookup-properties)
- (or (zerop (skip-syntax-backward "w_"))
- (memq (preceding-char) '(?@ ?$))))))
+ (zerop (skip-syntax-backward "w_")))
+ (memq (preceding-char) '(?@ ?$))))
(string-to-syntax "_"))))
;; Regular expressions. Start with matching unescaped slash.
("\\(?:\\=\\|[^\\]\\)\\(?:\\\\\\\\\\)*\\(/\\)"