mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Refine the last change
This commit is contained in:
parent
0ea1599d34
commit
35ece233a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue