aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-additional.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/ruby-additional.el b/misc/ruby-additional.el
index 46c3cd23f2..e3f6a02f4d 100644
--- a/misc/ruby-additional.el
+++ b/misc/ruby-additional.el
@@ -114,7 +114,7 @@ Emacs to Ruby."
(setq end (set-marker (make-marker) end))
(goto-char beg)
(while (and (< (point) end)
- (re-search-forward "\\Ca+" end t))
+ (re-search-forward "[^\C-@-~]+" end t))
(let ((u (mapconcat (lambda (c) (format "%x" c)) (match-string-no-properties 0) " ")))
(delete-region (match-beginning 0) (match-end 0))
(insert "\\u{" u "}"))