summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/ruby-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
index 077866f..ebb47c9 100644
--- a/misc/ruby-mode.el
+++ b/misc/ruby-mode.el
@@ -832,7 +832,7 @@ An end of a defun is found by moving forward from the beginning of one."
(skip-chars-forward "<"))
(not expr))))
(setq i (1- i)))
- ((error) (forward-word)))
+ ((error) (forward-word 1)))
i)))
(defun-region-command ruby-backward-sexp (&optional cnt)