mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
Don't apply the return value of goto-char as syntax class
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't apply the return value of goto-char as syntax class.
This commit is contained in:
parent
6e63b3e997
commit
991c801cd6
@ -1852,7 +1852,8 @@ It will be properly highlighted even when the call omits parens.")
|
||||
(1 (if (save-excursion
|
||||
(nth 3 (syntax-ppss (match-beginning 0))))
|
||||
;; Within a string, skip.
|
||||
(goto-char (match-end 1))
|
||||
(ignore
|
||||
(goto-char (match-end 1)))
|
||||
(string-to-syntax "\\"))))
|
||||
;; Part of symbol when at the end of a method name.
|
||||
("[!?]"
|
||||
|
Loading…
Reference in New Issue
Block a user