emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r114566: Refine the last change


From: Dmitry Gutov
Subject: [Emacs-diffs] trunk r114566: Refine the last change
Date: Mon, 07 Oct 2013 23:03:20 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 114566
revision-id: address@hidden
parent: address@hidden
committer: Dmitry Gutov <address@hidden>
branch nick: trunk
timestamp: Tue 2013-10-08 02:03:16 +0300
message:
  Refine the last change
modified:
  lisp/progmodes/ruby-mode.el    
rubymode.el-20091113204419-o5vbwnq5f7feedwu-8804
=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el       2013-10-07 23:01:23 +0000
+++ b/lisp/progmodes/ruby-mode.el       2013-10-07 23:03:16 +0000
@@ -293,7 +293,7 @@
                   ;; 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]