projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e63b3e
)
Don't apply the return value of goto-char as syntax class
author
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 7 Mar 2016 01:19:09 +0000
(
03:19
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 7 Mar 2016 03:07:34 +0000
(
05:07
+0200)
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't
apply the return value of goto-char as syntax class.
lisp/progmodes/ruby-mode.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/ruby-mode.el
b/lisp/progmodes/ruby-mode.el
index 1395828cff9434cdba0e92ad98ffd616d0007332..c1001450bda388b5633a256cab33577fb85c80bd 100644
(file)
--- a/
lisp/progmodes/ruby-mode.el
+++ b/
lisp/progmodes/ruby-mode.el
@@
-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.
("[!?]"