Commit fa834a93 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch

up the last change.
parent 73d3db82
2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-syntax-propertize-function): Touch
up the last change.
2013-12-06 Leo Liu <sdl.web@gmail.com>
* progmodes/octave.el (inferior-octave-prompt): Use shy groups.
......
......@@ -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.
("\\(?:\\=\\|[^\\]\\)\\(?:\\\\\\\\\\)*\\(/\\)"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment