Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
35ece233
Commit
35ece233
authored
Oct 08, 2013
by
Dmitry Gutov
Browse files
Refine the last change
parent
0ea1599d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/progmodes/ruby-mode.el
lisp/progmodes/ruby-mode.el
+1
-1
No files found.
lisp/progmodes/ruby-mode.el
View file @
35ece233
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment