HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea1599
)
Refine the last change
author
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 7 Oct 2013 23:03:16 +0000
(
02:03
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Mon, 7 Oct 2013 23:03:16 +0000
(
02:03
+0300)
lisp/progmodes/ruby-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/progmodes/ruby-mode.el
b/lisp/progmodes/ruby-mode.el
index
c96eccb
..
b34143d
100644
(file)
--- a/
lisp/progmodes/ruby-mode.el
+++ b/
lisp/progmodes/ruby-mode.el
@@
-293,7
+293,7
@@
Also ignores spaces after parenthesis when 'space."
;; Make sure it's not the end of a regexp.
(not (eq (car (syntax-after (1- (point)))) 7)))
(and (memq (char-before) '(?\? ?=))
- (let ((tok (
ruby-smie--backward-token
)))
+ (let ((tok (
save-excursion (ruby-smie--backward-token)
)))
(or (equal tok "?")
(string-match "\\`\\s." tok))))
(save-excursion