diff options
Diffstat (limited to 'lisp/progmodes/ruby-mode.el')
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 5d59a56e858..026616e68f4 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -709,7 +709,7 @@ It is used when `ruby-encoding-magic-comment-style' is set to `custom'." | |||
| 709 | (if prefix | 709 | (if prefix |
| 710 | (setq name | 710 | (setq name |
| 711 | (cond | 711 | (cond |
| 712 | ((string-match "^self\." name) | 712 | ((string-match "^self\\." name) |
| 713 | (concat (substring prefix 0 -1) (substring name 4))) | 713 | (concat (substring prefix 0 -1) (substring name 4))) |
| 714 | (t (concat prefix name))))) | 714 | (t (concat prefix name))))) |
| 715 | (push (cons name pos) index-alist) | 715 | (push (cons name pos) index-alist) |