diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ruby-additional.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/ruby-additional.el b/misc/ruby-additional.el index 0a191cda71..7ef099b13a 100644 --- a/misc/ruby-additional.el +++ b/misc/ruby-additional.el @@ -111,6 +111,7 @@ Emacs to Ruby." (defun ruby-encode-unicode (beg end) "Convert non-ascii string in the given region to \\u{} form." (interactive "r") + (setq end (set-marker (make-marker) end)) (goto-char beg) (while (and (< (point) end) (re-search-forward "\\Ca+" end t)) |